[compiler-rt] [TSan] Add interceptor for os_unfair_lock_lock_with_flags (PR #153815)
Mariusz Borsa via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 18 14:51:35 PDT 2025
wrotki wrote:
When does this test fail (even original version you modified)? Perhaps I'm missing something.
I think it should verify that the interceptor is actually active, i.e. create a race (e.g. print global_variable from _within_ Trace function), while omitting os_unfair_lock_lock calls, and check for the diagnostics appearing. Then test the same, enabling locks - and the diagnostics should be gone.
https://github.com/llvm/llvm-project/pull/153815
More information about the llvm-commits
mailing list