This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: prohibit Mutex(LINKER_INITIALIZED)
ClosedPublic

Authored by dvyukov on Jul 28 2021, 4:16 AM.

Details

Summary

Mutex does not support LINKER_INITIALIZED ctor.
But we used to support it with BlockingMutex.
To prevent potential bugs delete LINKER_INITIALIZED Mutex ctor.
Also mark existing ctor as explicit.

Depends on D106944.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Jul 28 2021, 4:16 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2021, 4:16 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Jul 28 2021, 5:54 AM
This revision is now accepted and ready to land.Jul 28 2021, 5:54 AM
This revision was automatically updated to reflect the committed changes.