]> granicus.if.org Git - clang/commit
[ARM] Changes to Arch/CPU handling to help with -Wa,-mfpu etc. (nfc)
authorRenato Golin <renato.golin@linaro.org>
Mon, 27 Jul 2015 23:44:42 +0000 (23:44 +0000)
committerRenato Golin <renato.golin@linaro.org>
Mon, 27 Jul 2015 23:44:42 +0000 (23:44 +0000)
commita83035ec20fc0db3e131e15ba7ad5c55f0d9ffd1
tree58e62ebb580badfee3a531d1cb0e277eb725675a
parenteec29eea850a99a414d2bdfb0b401df01e99ae24
[ARM] Changes to Arch/CPU handling to help with -Wa,-mfpu etc. (nfc)

To be able to handle -Wa, options in the assembler (ClangAs), we need to
make the handling of options based on the value of the options, not direct
Arguments from the list, since the list is immutable.

No functional change in this patch, but this allows validating of -Wa,-mfpu
and friends in the same way we validate -mfpu and friends, *just* for the
assembler.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChain.cpp
lib/Driver/Tools.cpp
lib/Driver/Tools.h