[LLVMdev] ARM integrated assembler - unknown directive errors
t.p.northover at gmail.com
Mon Sep 9 04:15:20 PDT 2013
> -integrated-as -msoft-float -save-temps -O3 -mcpu=cortex-a8 -c -o test.o
Hmm. It looks like save-temps is interfering with integrated-as.
What's happening is that Clang is quite capable of taking those
directives from CodeGen and putting them in an object file (the normal
integrated-as route) but can't parse them from a .s file.
When both integrated-as and keep-temps are specified Clang outputs a
real .s file and then (because it's been told to use itself as the
assembler) tries to reparse it. And fails.
We seem to have a bug for the .eabi_attribute one
(http://llvm.org/bugs/show_bug.cgi?id=15172), but not the .cpu one.
More information about the llvm-dev