[PATCH] D7775: [IR] Avoid the need to prefix MS C++ symbols with '\01'

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 16 01:33:12 PDT 2018


smeenai added inline comments.


================
Comment at: llvm/docs/LangRef.rst:1957
+      starting with ``?`` are not mangled in any way.
+    * ``w``: Windows COFF mangling: Similar to ``x``, except that normal C
+      symbols do not receive a ``_`` prefix.
----------------
To clarify, I assume `x` is used on x86 and `w` is used everywhere else. stdcall and fastcall are only a thing on x86, in which case `w` shouldn't be mangling them? (This is more confusing with the old version of the comment, but it's still ambiguous here.)


https://reviews.llvm.org/D7775





More information about the llvm-commits mailing list