Skip to content

Commit 852d780

Browse files
committed
[TSan] Turn on ignore_interceptors_accesses
This was already done on [swift-5.1-branch], but I forgot to also apply the change to [upstream-with-swift]: This flag is usually enabled on Darwin. Turn it on unconditionally for Swift, even on Linux. Reason: Silences the remaining false positives for TSan in the swift-nio test suite. rdar://52215193 apple-llvm-split-commit: 0f52cc47d62a27311bf4b92d9d25584d7936be11 apple-llvm-split-dir: compiler-rt/
1 parent 4b104f3 commit 852d780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/tsan/rtl/tsan_flags.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ TSAN_FLAG(int, io_sync, 1,
7676
TSAN_FLAG(bool, die_after_fork, true,
7777
"Die after multi-threaded fork if the child creates new threads.")
7878
TSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
79-
TSAN_FLAG(bool, ignore_interceptors_accesses, false,
79+
TSAN_FLAG(bool, ignore_interceptors_accesses, true,
8080
"Ignore reads and writes from all interceptors.")
8181
TSAN_FLAG(bool, ignore_noninstrumented_modules, true,
8282
"Interceptors should only detect races when called from instrumented "

0 commit comments

Comments
 (0)