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

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed May 3 09:17:38 PDT 2017


On 3 May 2017 at 08:01, Rafael Avila de Espindola via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Can you provide a .s file that shows the difference?

I managed to reproduce it by compiling 'char *var = "whatever";' in
debug mode (so clang -target arm-none-eabi tmp.c -g"). Direct compile
leaves no assembler-local strings, but for some reason going via -S
does. I've not investigated further I'm afraid.

Tim.


More information about the llvm-dev mailing list