[LLVMdev] dragon egg adding extra characters to function names
gmalecha at eecs.harvard.edu
Wed Jul 27 00:27:37 PDT 2011
On Wed, Jul 27, 2011 at 12:08 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Gregory,
> > Ah, non-unicode email... In the llvm output there should be a "1"
> > i.e. (char) 0x01, prepended to acos and __GI_acos. I'm unable to get it
> > smaller things, but it happens when I try to compile uClibc with llvm.
> > attached the .o and the .bc for comparison. The text file is the result
> > preprocessing (to avoid having to download a bunch of stuff).
> this is normal, and should not turn up in final assembler output.
> GCC uses a leading "*" character while LLVM uses a leading "\1" for
> that the symbol should turn up in the assembler as is (without the leading
> character */\1) and not with something prepended to it (on some platforms
> underscore would normally be prepended to all symbol names for example).
> llvm-nm works on bitcode, it shows you bitcode names including the leading
> (maybe this is an llvm-nm bug?). However the code generators should
> Ciao, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev