This is an archive of the discontinued LLVM Phabricator instance.

Remove -cc1 option "-backend-option"
ClosedPublic

Authored by efriedma on Mar 30 2018, 2:42 PM.

Details

Summary

It means essentially the same thing as -mllvm; there isn't any reason to have separate options.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Mar 30 2018, 2:42 PM

Not sure who to add as reviewers here.

echristo accepted this revision.Apr 9 2018, 2:07 PM

Uh sure. :)

Though I'd almost do it the other way around. That said, -mllvm probably has more uptake.

This revision is now accepted and ready to land.Apr 9 2018, 2:07 PM
mcrosier accepted this revision.Apr 12 2018, 10:33 AM
mcrosier added a subscriber: mcrosier.

SGTM!

This revision was automatically updated to reflect the committed changes.

Hi Eli,

The commit makes sense, but I’m not sure about your change to the test/Driver/apple-kext-mkernel.c <https://github.com/llvm-mirror/clang/#diff-9312a36a58d8d3f2f91ef6567dff7563> file:
instead of changing the run lines to use -mllvm you have removed them.
Was there a reason for the removal?

Regards,
George

efriedma added a subscriber: pcc.Apr 12 2018, 4:00 PM

The test wasn't checking anything useful; the clang driver never passes
"-arm-long-calls" to clang -cc1.  See https://reviews.llvm.org/rL241565 .

-Eli

cfe/trunk/test/Driver/mglobal-merge.c