This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option
ClosedPublic

Authored by jansvoboda11 on Dec 14 2020, 7:13 AM.

Details

Summary

This patch enables marshalling of the exception model options while enforcing their mutual exclusivity. The clang driver interface remains the same, this only affects the cc1 command line.

Depends on D93215.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Dec 14 2020, 7:13 AM
jansvoboda11 requested review of this revision.Dec 14 2020, 7:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2020, 7:13 AM

Remove accidental comment

jansvoboda11 retitled this revision from [clang][cli] Squash multiple -fxxx-exceptions flags into single -exception-model=xxx option to [clang][cli] Squash multiple cc1 -fxxx-exceptions flags into single -exception-model=xxx option.Dec 14 2020, 7:20 AM
jansvoboda11 edited the summary of this revision. (Show Details)

Add possible values to HelpText

dexonsmith accepted this revision.Dec 14 2020, 10:11 AM

LGTM. I'll look at the prep commits in a moment.

This revision is now accepted and ready to land.Dec 14 2020, 10:11 AM
This revision was landed with ongoing or failed builds.Dec 15 2020, 1:16 AM
This revision was automatically updated to reflect the committed changes.