[PATCH] D11216: [ARM] Warnings for .cpu/.fpu/.arch directives in ASM

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Jul 17 14:33:24 PDT 2015


rafael added a subscriber: rafael.
rafael added a comment.

Won't this warn on something as simple as

clang -c -flto -arch-opt-1 test1.c
clang -c -flto -arch-opt-2 test2.c
clang test1.o test2.o -o foo -Wl,-plugin-opt=save-temps
clang -c foo.s

?

Maybe the correct thing is to warn if the state is different at the start and end of an inline assembly?


Repository:
  rL LLVM

http://reviews.llvm.org/D11216







More information about the llvm-commits mailing list