This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Start classifying debug mode features with more granularity
ClosedPublic

Authored by ldionne on Nov 15 2022, 6:57 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rGbf68a595f6f8: [libc++] Start classifying debug mode features with more granularity
Summary

I am starting to granularize debug-mode checks so they can be controlled
more individually. The goal is for vendors to eventually be able to select
which categories of checks they want embedded in their configuration of
the library with more granularity.

Note that this patch is a bit weird on its own because it does not touch
any of the containers that implement iterator bounds checking through the
__dereferenceable check of the legacy debug mode. However, I added TODOs
to string and vector to change that.

Diff Detail

Event Timeline

ldionne created this revision.Nov 15 2022, 6:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 6:57 AM
ldionne requested review of this revision.Nov 15 2022, 6:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2022, 6:57 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision as: Restricted Project.Nov 15 2022, 8:17 AM

ARM bots are stuck.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 15 2022, 8:18 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.