This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] DEFINE_REAL_PTHREAD_FUNCTIONS for hwasan, lsan, msan
ClosedPublic

Authored by vitalybuka on Dec 2 2021, 1:11 AM.

Details

Summary

It should be NFC, as they already intercept pthread_create.

This will let us to fix BackgroundThread for these sanitizerts.
In in followup patches I will fix MaybeStartBackgroudThread for them
and corresponding tests.

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Dec 2 2021, 1:11 AM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2021, 1:11 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov accepted this revision.Dec 2 2021, 8:38 AM
This revision is now accepted and ready to land.Dec 2 2021, 8:38 AM