[llvm] r346416 - [docs] Clarify ELF section naming for StackMaps and fix a typo

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 09:20:35 PST 2018


Author: reames
Date: Thu Nov  8 09:20:35 2018
New Revision: 346416

URL: http://llvm.org/viewvc/llvm-project?rev=346416&view=rev
Log:
[docs] Clarify ELF section naming for StackMaps and fix a typo


Modified:
    llvm/trunk/docs/StackMaps.rst
    llvm/trunk/docs/Statepoints.rst

Modified: llvm/trunk/docs/StackMaps.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/StackMaps.rst?rev=346416&r1=346415&r2=346416&view=diff
==============================================================================
--- llvm/trunk/docs/StackMaps.rst (original)
+++ llvm/trunk/docs/StackMaps.rst Thu Nov  8 09:20:35 2018
@@ -427,8 +427,11 @@ this section, it invokes the callback an
 JIT can record the in-memory address of the section at this time and
 later parse it to recover the stack map data.
 
-On Darwin, the stack map section name is "__llvm_stackmaps". The
-segment name is "__LLVM_STACKMAPS".
+For MachO (e.g. on Darwin), the stack map section name is
+"__llvm_stackmaps". The segment name is "__LLVM_STACKMAPS".
+
+For ELF (e.g. on Linux), the stack map section name is
+".llvm_stackmaps".  The segment name is "__LLVM_STACKMAPS".
 
 Stack Map Usage
 ===============

Modified: llvm/trunk/docs/Statepoints.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Statepoints.rst?rev=346416&r1=346415&r2=346416&view=diff
==============================================================================
--- llvm/trunk/docs/Statepoints.rst (original)
+++ llvm/trunk/docs/Statepoints.rst Thu Nov  8 09:20:35 2018
@@ -591,8 +591,8 @@ Stack Map Format
 
 Locations for each pointer value which may need read and/or updated by
 the runtime or collector are provided in a separate section of the
-generated object file as specified specified in the PatchPoint
-documentation.  This special section is encoded per the
+generated object file as specified in the PatchPoint documentation.
+This special section is encoded per the
 :ref:`Stack Map format <stackmap-format>`.
 
 The general expectation is that a JIT compiler will parse and discard this




More information about the llvm-commits mailing list