This is an archive of the discontinued LLVM Phabricator instance.

[MS ABI] Don't rely on terminatepad
ClosedPublic

Authored by majnemer on Dec 12 2015, 12:02 PM.

Details

Summary

We'd like to remove support for terminatepad from LLVM. To do this, we
need to move Clang off of it first. The intent behind terminatepad was
to carefully model exception specifications for the MSVC personality.

However, we don't support exception specifications for the MSVC
personality and neither does MSVC. Instead, MSVC supports
all-or-nothing exception specifications. We can model this limited
usage using cleanuppads which call std::terminate.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer updated this revision to Diff 42641.Dec 12 2015, 12:02 PM
majnemer retitled this revision from to [MS ABI] Don't rely on terminatepad.
majnemer updated this object.
majnemer added a reviewer: rnk.
majnemer added a subscriber: cfe-commits.
rnk accepted this revision.Dec 14 2015, 9:50 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Dec 14 2015, 9:50 AM
This revision was automatically updated to reflect the committed changes.