llvm.org GIT mirror llvm / 268226b
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 Hans Wennborg 6 years ago
1 changed file(s) with 9 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
11701170 ``a::``
11711171 This specifies the alignment for an object of aggregate type.
11721172 ``m:``
1173 If prerest, specifies that llvm names are mangled in the output. The
1174 options are
1175 * ``e``: ELF mangling: Private symbols get a ``.L`` prefix.
1176 * ``m``: Mips mangling: Private symbols get a ``$`` prefix.
1177 * ``o``: Mach-O mangling: Private symbols get ``L`` prefix. Other
1178 symbols get a ``_`` prefix.
1179 * ``w``: Windows COFF prefix: Similar to Mach-O, but stdcall and fastcall
1180 functions also get a suffix based on the frame size.
1173 If present, specifies that llvm names are mangled in the output. The
1174 options are
1175
1176 * ``e``: ELF mangling: Private symbols get a ``.L`` prefix.
1177 * ``m``: Mips mangling: Private symbols get a ``$`` prefix.
1178 * ``o``: Mach-O mangling: Private symbols get ``L`` prefix. Other
1179 symbols get a ``_`` prefix.
1180 * ``w``: Windows COFF prefix: Similar to Mach-O, but stdcall and fastcall
1181 functions also get a suffix based on the frame size.
11811182 ``n::...``
11821183 This specifies a set of native integer widths for the target CPU in
11831184 bits. For example, it might contain ``n32`` for 32-bit PowerPC,