summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd4245acf195c47981cd697f2ff3a58f06fe11190 (patch)
tree29b306f2f39f2d24c2c4db05f3b3f04bc07e09f6 /llvm/docs
parent773353b1744ad5de957542ad17f919e6f2a3ed16 (diff)
downloadbcm5719-llvm-d4245acf195c47981cd697f2ff3a58f06fe11190.tar.gz
bcm5719-llvm-d4245acf195c47981cd697f2ff3a58f06fe11190.zip
LangRef.rst: fix LangRef data layout text about m specifier, take 2
llvm-svn: 199286
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index a9e7326934b..a1b3eb47ecb 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/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,
OpenPOWER on IntegriCloud