This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Allow enabling assertions when back-deploying
ClosedPublic

Authored by ldionne on Aug 4 2022, 1:45 PM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGe36f9e13bca4: [libc++] Allow enabling assertions when back-deploying
Summary

When back-deploying to older platforms, we can still provide assertions,
but we might not be able to provide a great implementation for the verbose
handler. Instead, we can just call ::abort().

Diff Detail

Event Timeline

ldionne created this revision.Aug 4 2022, 1:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2022, 1:45 PM
Herald added a subscriber: arichardson. · View Herald Transcript
ldionne requested review of this revision.Aug 4 2022, 1:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2022, 1:45 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 450278.Aug 5 2022, 6:25 AM

Availability markup is not needed since we provide a fallback.

ldionne accepted this revision.Aug 8 2022, 5:41 AM
This revision is now accepted and ready to land.Aug 8 2022, 5:41 AM
This revision was automatically updated to reflect the committed changes.