[LLVMdev] Mangling of UTF-8 characters in symbol names

Eli Friedman eli.friedman at gmail.com
Fri Mar 30 12:22:40 PDT 2012


On Fri, Mar 30, 2012 at 12:12 PM, Sean Hunt <scshunt at csclub.uwaterloo.ca> wrote:
> Why is it that high (>127) bytes in symbol names get mangled by LLVM into
> _XX_, where XX is the hex representation of the character? Is this required
> by ELF or some similar standard? This behavior is inconsistent with GCC.

I think it's just so that we have a way to actually write out the
symbol into the assembly file.  What does gcc do?

-Eli



More information about the llvm-dev mailing list