[PATCH] LangRef: add a note about the mangling-suppressing \01 prefix

Hans Wennborg hans at chromium.org
Wed Jul 30 13:11:03 PDT 2014


Closed by commit rL214329 (authored by @hans).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4728

Files:
  llvm/trunk/docs/LangRef.rst

Index: llvm/trunk/docs/LangRef.rst
===================================================================
--- llvm/trunk/docs/LangRef.rst
+++ llvm/trunk/docs/LangRef.rst
@@ -79,7 +79,8 @@
    characters in their names can be surrounded with quotes. Special
    characters may be escaped using ``"\xx"`` where ``xx`` is the ASCII
    code for the character in hexadecimal. In this way, any character can
-   be used in a name value, even quotes themselves.
+   be used in a name value, even quotes themselves. The ``"\01"`` prefix
+   can be used on global variables to suppress mangling.
 #. Unnamed values are represented as an unsigned numeric value with
    their prefix. For example, ``%12``, ``@2``, ``%44``.
 #. Constants, which are described in the section  Constants_ below.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4728.12044.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140730/eaced9ab/attachment.bin>


More information about the llvm-commits mailing list