This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add a CMake option to control whether the debug mode is supported
ClosedPublic

Authored by ldionne on Oct 6 2020, 1:56 PM.

Details

Summary

Some libc++ builds may want to disable support for the debug mode,
for example to reduce code size or because the current implementation
of the debug mode requires a global map. This commit adds the
LIBCXX_ENABLE_DEBUG_MODE CMake option and ties it into the test
suite.

It also adds a CI job to test this configuration going forward.

Diff Detail

Event Timeline

ldionne created this revision.Oct 6 2020, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2020, 1:56 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne requested review of this revision.Oct 6 2020, 1:56 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 7 2020, 6:21 AM
This revision was automatically updated to reflect the committed changes.