]> granicus.if.org Git - clang/commit
[ARM] Implement -Wa,-mfpu and friends for assemblers
authorRenato Golin <renato.golin@linaro.org>
Mon, 27 Jul 2015 23:44:45 +0000 (23:44 +0000)
committerRenato Golin <renato.golin@linaro.org>
Mon, 27 Jul 2015 23:44:45 +0000 (23:44 +0000)
commit985185b16c4ec20b05b121c9c9c7d0dd3b8c6f31
tree2c2925b3ecc822a96cfcdc6b9cee97f1e79cb4f6
parenta83035ec20fc0db3e131e15ba7ad5c55f0d9ffd1
[ARM] Implement -Wa,-mfpu and friends for assemblers

This patch allows Clang to pass on -Wa,-mfpu, -Wa,-mhwdiv and
-Wa,-mcpu to the integrated assembler (via target-features), but
-march is still not being passed, but validated.

In case the command line has both -mxxx and -Wa,-mxxx, we warn
that the naked one will not be used in assembler mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243353 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/arm-ias-Wa.s [new file with mode: 0644]