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.
Paths
| Differential D114935
[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.
Diff Detail
Event Timelinevitalybuka added a child revision: D114498: [sanitizer] Run Stack compression in background thread.Dec 2 2021, 1:13 AM This revision is now accepted and ready to land.Dec 2 2021, 8:38 AM Closed by commit rG323bfad72dee: [sanitizer] DEFINE_REAL_PTHREAD_FUNCTIONS for hwasan, lsan, msan (authored by vitalybuka). · Explain WhyDec 2 2021, 10:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 391246 compiler-rt/lib/hwasan/hwasan_interceptors.cpp
compiler-rt/lib/lsan/lsan_interceptors.cpp
compiler-rt/lib/msan/msan_interceptors.cpp
|