[compiler-rt] [llvm] [tsan] Introduce Adaptive Delay Scheduling to TSAN (PR #178836)
Chris Cotter via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 12:42:40 PST 2026
================
@@ -1510,6 +1533,7 @@ TSAN_INTERCEPTOR(int, __pthread_mutex_unlock, void *m) {
#if !SANITIZER_APPLE
TSAN_INTERCEPTOR(int, pthread_spin_init, void *m, int pshared) {
SCOPED_TSAN_INTERCEPTOR(pthread_spin_init, m, pshared);
+ GetFuzzingScheduler().MutexCvOp();
----------------
ccotter wrote:
Good point, no. Delaying in init won't catch races related to the spin lock.
https://github.com/llvm/llvm-project/pull/178836
More information about the llvm-commits
mailing list