[docs] Clarify ELF section naming for StackMaps and fix a typo
llvm-svn: 346416
diff --git a/llvm/docs/StackMaps.rst b/llvm/docs/StackMaps.rst
index 99c5e5f..2ceb408 100644
--- a/llvm/docs/StackMaps.rst
+++ b/llvm/docs/StackMaps.rst
@@ -427,8 +427,11 @@
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
===============