Gautam Chakrabarti via llvm-dev
2018-May-22 07:19 UTC
[llvm-dev] Question about identifier name mangling in LLVM manual
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. Thanks, Gautam ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180522/914e2d68/attachment.html>
Hans Wennborg via llvm-dev
2018-May-22 10:18 UTC
[llvm-dev] Question about identifier name mangling in LLVM manual
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
Maybe Matching Threads
- [LLVMdev] [LLVMDev] trouble building gcc-frontend from source
- [LLVMdev] [LLVMDev] trouble building gcc-frontend from source
- Xen in a Box Proposal
- name mangling makes 8.3 unreadable unlike Windows fileserver
- [LLVMdev] [LLVMDev] trouble building gcc-frontend from source