This is an archive of the discontinued LLVM Phabricator instance.

tsan: add another fork test
ClosedPublic

Authored by dvyukov on Nov 19 2021, 8:03 AM.

Details

Summary

Add a fork test that models what happens on Mac
where fork calls malloc/free inside of our atfork
callbacks.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Nov 19 2021, 8:03 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 19 2021, 8:03 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
yln accepted this revision.Nov 19 2021, 11:45 AM

LGTM, but most be landed together with the fix in D112603.

This revision is now accepted and ready to land.Nov 19 2021, 11:45 AM
vitalybuka accepted this revision.Nov 19 2021, 12:14 PM
yln added a comment.Nov 19 2021, 12:23 PM

... must be landed together with the fix ...

Scratch that, I was confused. We are good to go! :)

This revision was landed with ongoing or failed builds.Nov 21 2021, 11:36 PM
This revision was automatically updated to reflect the committed changes.