This is an archive of the discontinued LLVM Phabricator instance.

Add toggling for -fnew-infallible/-fno-new-infallible
ClosedPublic

Authored by modimo on Nov 9 2021, 3:34 PM.

Details

Summary

Allow toggling of -fnew-infallible so last instance takes precedence

Testing:
ninja check-all

Diff Detail

Event Timeline

modimo created this revision.Nov 9 2021, 3:34 PM
modimo requested review of this revision.Nov 9 2021, 3:34 PM
Herald added a project: Restricted Project. · View Herald Transcript
modimo edited the summary of this revision. (Show Details)Nov 9 2021, 3:36 PM
modimo edited reviewers, added: urnathan, bruno, rsmith; removed: jdoerfert.
modimo updated this revision to Diff 385996.Nov 9 2021, 3:42 PM

Remove whitespace change

bruno added a comment.Nov 9 2021, 5:02 PM

Hi @modimo, can you also add a driver test to check (clang/test/Driver/...) that nothing is added to cc1 cmdline when -fno-new-infallible is used or take precendence?

modimo updated this revision to Diff 386059.Nov 9 2021, 9:55 PM

Add driver test

bruno accepted this revision.Nov 18 2021, 6:28 PM

LGTM

This revision is now accepted and ready to land.Nov 18 2021, 6:28 PM
This revision was automatically updated to reflect the committed changes.