This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Stop passing -fseh-exceptions for x86_64-windows-msvc
ClosedPublic

Authored by smeenai on Jun 6 2018, 3:54 PM.

Details

Summary

-fseh-exceptions is only meaningful for MinGW targets, and that driver
already has logic to pass either -fdwarf-exceptiosn or -fseh-exceptions
as appropriate. -fseh-exceptions is just a no-op for MSVC triples, and
passing it to cc1 causes unnecessary confusion.

Diff Detail

Repository
rL LLVM

Event Timeline

smeenai created this revision.Jun 6 2018, 3:54 PM
rnk accepted this revision.Jun 6 2018, 4:03 PM

lgtm

This revision is now accepted and ready to land.Jun 6 2018, 4:03 PM
This revision was automatically updated to reflect the committed changes.