This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Changes to Arch/CPU handling to help with -Wa,-mfpu etc. (nfc)
ClosedPublic

Authored by rengolin on Jul 13 2015, 8:41 AM.

Details

Summary

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.

Prepares for the PR20700 fix: D11148

Diff Detail

Event Timeline

rengolin updated this revision to Diff 29578.Jul 13 2015, 8:41 AM
rengolin retitled this revision from to [ARM] Changes to Arch/CPU handling to help with -Wa,-mfpu etc. (nfc).
rengolin updated this object.
rengolin set the repository for this revision to rL LLVM.
rengolin added a subscriber: cfe-commits.
rengolin updated this revision to Diff 29659.Jul 14 2015, 3:05 AM
rengolin added a reviewer: rnk.
rengolin removed rL LLVM as the repository for this revision.

More context.

Gentle ping. I'd like to get this into 3.7.

rengolin accepted this revision.Jul 27 2015, 4:46 PM
rengolin added a reviewer: rengolin.

Accepted together with D11148.

This revision is now accepted and ready to land.Jul 27 2015, 4:46 PM
rengolin closed this revision.Jul 27 2015, 4:46 PM

Committed in r243352