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

Michael Johnson via llvm-dev llvm-dev at lists.llvm.org
Wed May 3 02:15:10 PDT 2017


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



More information about the llvm-dev mailing list