[llvm-dev] clang assembler keeps .Linfo_string symbols?

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Wed May 3 08:01:20 PDT 2017


Can you provide a .s file that shows the difference?

Thanks,
Rafael

Michael Johnson via llvm-dev <llvm-dev at lists.llvm.org> writes:

> Hi,
>
> When I use -S to generate an assembly file (ARM target) .Linfo_string 
> symbols are generated. I would expect the clang assembler to treat these 
> as locals (i.e not appear in the object file) but they do. Using the GNU 
> assembler the symbols don't appear in the object file.
>
> Why are .Linfo_string symbols treated differently to other local labels 
> by the clang assembler?
>
> Using the integrated clang assembler the symbols don't appear either. Is 
> there a command line option to the clang assembler that I'm missing that 
> treats these symbols as locals?
>
> Regards
> Michael
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list