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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jul 30 14:16:27 PDT 2014


gosh, that was a big omission. Thanks!

On 30 July 2014 16:02, Hans Wennborg <hans at hanshq.net> wrote:
> Author: hans
> Date: Wed Jul 30 15:02:08 2014
> New Revision: 214329
>
> URL: http://llvm.org/viewvc/llvm-project?rev=214329&view=rev
> Log:
> LangRef: add a note about the mangling-suppressing \01 prefix
>
> Someone asked about this on IRC the other day, and I couldn't
> find the magic prefix documented anywhere.
>
> Differential Revision: http://reviews.llvm.org/D4728
>
> 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=214329&r1=214328&r2=214329&view=diff
> ==============================================================================
> --- llvm/trunk/docs/LangRef.rst (original)
> +++ llvm/trunk/docs/LangRef.rst Wed Jul 30 15:02:08 2014
> @@ -79,7 +79,8 @@ identifiers, for different purposes:
>     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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list