This is an archive of the discontinued LLVM Phabricator instance.

tsan: include internal allocator into deadlock detection
ClosedPublic

Authored by dvyukov on Nov 24 2021, 5:48 AM.

Details

Summary

Now that we lock the internal allocator around fork,
it's possible it will create additional deadlocks.
Add a fake mutex that substitutes the internal allocator
for the purposes of deadlock detection.

Depends on D114531.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Nov 24 2021, 5:48 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 24 2021, 5:48 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Nov 24 2021, 6:27 AM

Nice!

This revision is now accepted and ready to land.Nov 24 2021, 6:27 AM
This revision was landed with ongoing or failed builds.Nov 24 2021, 8:02 AM
This revision was automatically updated to reflect the committed changes.