summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-01-15 02:49:17 +0000
committerHans Wennborg <hans@hanshq.net>2014-01-15 02:49:17 +0000
commit268226b9f36a4b6db39cbf1106a91fc799ce95d1 (patch)
tree9d836ec9f7217a2621eeb0e6cc8d6d183c6b21f6 /docs
parent37a98536bd0975ea3354407b91d12896252effc0 (diff)
downloadllvm-268226b9f36a4b6db39cbf1106a91fc799ce95d1.tar.gz
llvm-268226b9f36a4b6db39cbf1106a91fc799ce95d1.tar.bz2
llvm-268226b9f36a4b6db39cbf1106a91fc799ce95d1.tar.xz
LangRef.rst: fix LangRef data layout text about m specifier, take 2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index a9e7326934..a1b3eb47ec 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -1171,14 +1171,15 @@ as follows:
``a:<abi>:<pref>``
This specifies the alignment for an object of aggregate type.
``m:<mangling>``
- If prerest, specifies that llvm names are mangled in the output. The
- options are
- * ``e``: ELF mangling: Private symbols get a ``.L`` prefix.
- * ``m``: Mips mangling: Private symbols get a ``$`` prefix.
- * ``o``: Mach-O mangling: Private symbols get ``L`` prefix. Other
- symbols get a ``_`` prefix.
- * ``w``: Windows COFF prefix: Similar to Mach-O, but stdcall and fastcall
- functions also get a suffix based on the frame size.
+ If present, specifies that llvm names are mangled in the output. The
+ options are
+
+ * ``e``: ELF mangling: Private symbols get a ``.L`` prefix.
+ * ``m``: Mips mangling: Private symbols get a ``$`` prefix.
+ * ``o``: Mach-O mangling: Private symbols get ``L`` prefix. Other
+ symbols get a ``_`` prefix.
+ * ``w``: Windows COFF prefix: Similar to Mach-O, but stdcall and fastcall
+ functions also get a suffix based on the frame size.
``n<size1>:<size2>:<size3>...``
This specifies a set of native integer widths for the target CPU in
bits. For example, it might contain ``n32`` for 32-bit PowerPC,