[llvm] r251260 - docs: document `x` mangling in LangRef

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 25 13:39:35 PDT 2015


Author: compnerd
Date: Sun Oct 25 15:39:35 2015
New Revision: 251260

URL: http://llvm.org/viewvc/llvm-project?rev=251260&view=rev
Log:
docs: document `x` mangling in LangRef

Windows has two different mangling specifiers.  `x` is used on x86 for the `_`
UserLabelPrefix.  Others use `w` for the no UserLabelPrefix.

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=251260&r1=251259&r2=251260&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Sun Oct 25 15:39:35 2015
@@ -1569,6 +1569,8 @@ as follows:
       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.
+    * ``x``: Windows x86 COFF prefix:  Similar to Windows COFF, but use a ``_``
+      prefix for ``__cdecl`` functions.
 ``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,




More information about the llvm-commits mailing list