This is an archive of the discontinued LLVM Phabricator instance.

[libc++abi] Make the error message for recursive initialization of function-local statics more explicit
ClosedPublic

Authored by ldionne on Apr 18 2023, 5:49 AM.

Details

Summary

The new message is a bit verbose, but it makes it clearer that this isn't
a problem in libc++abi, but instead a problem in the user's code. Otherwise,
we get bugs sent down to libc++abi because people see this message in their
crash logs.

Diff Detail

Event Timeline

ldionne created this revision.Apr 18 2023, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 5:49 AM
ldionne requested review of this revision.Apr 18 2023, 5:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2023, 5:49 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Apr 19 2023, 1:17 PM
This revision is now accepted and ready to land.Apr 19 2023, 1:17 PM
This revision was landed with ongoing or failed builds.Apr 19 2023, 1:18 PM
This revision was automatically updated to reflect the committed changes.