From 6bb0038b54056b71a6cd936024ff0f2c38543228 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Thu, 4 Dec 2014 00:45:23 +0000 Subject: [PATCH] Minor typo and link fixes for Statepoint documentation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223327 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Statepoints.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/Statepoints.rst b/docs/Statepoints.rst index 5365e8bd6b3..f916fe4321f 100644 --- a/docs/Statepoints.rst +++ b/docs/Statepoints.rst @@ -63,7 +63,7 @@ Instead, the statepoint intrinsic marks the actual site of the safepoint or stat When lowered, this example would generate the following x86 assembly:: put assembly here -Each of the potentially relocated values has been spilled to the stack, and a record of that location has been recorded to the StackMap section. If the garbage collector needs to update any of these pointers during the call, it knows exactly what to change. +Each of the potentially relocated values has been spilled to the stack, and a record of that location has been recorded to the :ref:`Stack Map section `. If the garbage collector needs to update any of these pointers during the call, it knows exactly what to change. Intrinsics =========== @@ -175,12 +175,10 @@ The return value of ''gc_relocate'' is the potentially relocated value of the po A ''gc_relocate'' is modeled as a 'readnone' pure function. It has no side effects since it is just a way to extract information about work done during the actual call modeled by the ''gc_statepoint''. -StackMap Format +Stack Map Format ================ -Locations for each pointer value which may need read and/or updated by the runtime or collector are provided via the StackMap format specified in the PatchPoint documentation. - -.. TODO: link +Locations for each pointer value which may need read and/or updated by the runtime or collector are provided via the :ref:`Stack Map format ` specified in the PatchPoint documentation. Each statepoint generates the following Locations: -- 2.34.1