This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Don't pass -arm-execute-only to cc1as
ClosedPublic

Authored by christof on Feb 27 2017, 9:32 AM.

Details

Summary

The option -mexecute-only is translated into the backend option -arm-execute-only. But this option only makes sense for the compiler and the assembler does not recognize it. This patch stops clang from passing the option to the assembler.

Diff Detail

Event Timeline

christof created this revision.Feb 27 2017, 9:32 AM
christof updated this revision to Diff 89898.Feb 27 2017, 9:35 AM
rengolin accepted this revision.Feb 27 2017, 9:58 AM

Makes sense, LGTM. Thanks!

This revision is now accepted and ready to land.Feb 27 2017, 9:58 AM
christof closed this revision.Mar 14 2017, 9:28 AM

This landed as https://reviews.llvm.org/rL296454 some time ago. Not sure why it was not auto-closed. Closing manually.