From 63694290ce5260548a723ce94cfd5c09b2e26229 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Wed, 25 Feb 2015 23:07:34 +0000 Subject: [PATCH] [GC Docs] Minor wording clarification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230570 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GarbageCollection.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/GarbageCollection.rst b/docs/GarbageCollection.rst index b5a3b1f527b..d9ae6c1b505 100644 --- a/docs/GarbageCollection.rst +++ b/docs/GarbageCollection.rst @@ -247,9 +247,9 @@ Using ``llvm.gcwrite`` The ``llvm.gcroot`` intrinsic is used to inform LLVM that a stack variable references an object on the heap and is to be tracked for garbage collection. -The exact impact on generated code is specified by a :ref:`compiler plugin -`. All calls to ``llvm.gcroot`` **must** reside inside the first basic -block. +The exact impact on generated code is specified by the Function's selected +:ref:`GC strategy `. All calls to ``llvm.gcroot`` **must** reside +inside the first basic block. The first argument **must** be a value referring to an alloca instruction or a bitcast of an alloca. The second contains a pointer to metadata that should be -- 2.34.1