This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Make it an error to define _LIBCPP_DEBUG
ClosedPublic

Authored by ldionne on Nov 14 2022, 12:01 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rG13ea1343231f: [libc++] Make it an error to define _LIBCPP_DEBUG
Summary

We have been transitioning off of that macro since LLVM 15.

Diff Detail

Event Timeline

ldionne created this revision.Nov 14 2022, 12:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 12:01 PM
ldionne requested review of this revision.Nov 14 2022, 12:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2022, 12:01 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

@thakis I was able to find a reference to _LIBCPP_DEBUG in a gn file, you may want to have a look in case changes are needed.

ldionne accepted this revision as: Restricted Project.Nov 15 2022, 6:47 AM

@DavidSpickett @ARMDavidSpickett The ARM bots seem to be down right now. Can someone please look into it? It's stalling our CI.

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

@thakis I was able to find a reference to _LIBCPP_DEBUG in a gn file, you may want to have a look in case changes are needed.

Done in 1b829c3d3a8c0488f8aa553eb15c7ee658f491c9

@DavidSpickett @ARMDavidSpickett The ARM bots seem to be down right now. Can someone please look into it? It's stalling our CI.

Was away at llvm dev, looks like whatever it was is now fixed.

libcxx/include/__debug