This is an archive of the discontinued LLVM Phabricator instance.

[clang] Disallow mixing SEH and Objective-C exceptions
ClosedPublic

Authored by thakis on Oct 20 2021, 10:06 AM.

Details

Summary

We already disallow mixing SEH and C++ exceptions, and
mixing SEH and Objective-C exceptions seems to not work (see PR52233).
Emitting an error is friendlier than crashing.

Diff Detail

Event Timeline

thakis requested review of this revision.Oct 20 2021, 10:06 AM
thakis created this revision.
rnk accepted this revision.Oct 20 2021, 10:52 AM

lgtm

This revision is now accepted and ready to land.Oct 20 2021, 10:52 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2021, 11:18 AM