From: Philip Reames Date: Wed, 25 Feb 2015 23:07:34 +0000 (+0000) Subject: [GC Docs] Minor wording clarification X-Git-Tag: llvmorg-3.7.0-rc1~10842 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09b52fd1ae7c8880be8c19429df7b2ebe2cafc44;p=platform%2Fupstream%2Fllvm.git [GC Docs] Minor wording clarification llvm-svn: 230570 --- diff --git a/llvm/docs/GarbageCollection.rst b/llvm/docs/GarbageCollection.rst index b5a3b1f..d9ae6c1 100644 --- a/llvm/docs/GarbageCollection.rst +++ b/llvm/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