[llvm-dev] Question about identifier name mangling in LLVM manual

Hans Wennborg via llvm-dev llvm-dev at lists.llvm.org
Tue May 22 03:18:14 PDT 2018


Hi Gautam,

On Tue, May 22, 2018 at 9:19 AM, Gautam Chakrabarti via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> The Identifiers section in the LLVM language manual states:
>
> “The "\01" prefix can be used on global variables to suppress mangling.”
>
> Is this for global variables only, or global values in general, such as
> functions also? In implementation LLVM seems to have this behavior of
> suppressing mangling even for functions and aliases.

I believe it applies to all global values. I've committed an update to
the doc in r332967.

Cheers,
Hans


More information about the llvm-dev mailing list