Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit e8dc6bb

Browse files
committed
Enable ignore_noninstrumented_modules=1 on Linux
Enable ignore_noninstrumented_modules flag on all platforms (including Linux). This is a permanent divergance of upstream and Swift's comiler-rt.
1 parent 7ed29d4 commit e8dc6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tsan/rtl/tsan_flags.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ TSAN_FLAG(bool, die_after_fork, true,
7979
TSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
8080
TSAN_FLAG(bool, ignore_interceptors_accesses, false,
8181
"Ignore reads and writes from all interceptors.")
82-
TSAN_FLAG(bool, ignore_noninstrumented_modules, SANITIZER_MAC ? true : false,
82+
TSAN_FLAG(bool, ignore_noninstrumented_modules, true,
8383
"Interceptors should only detect races when called from instrumented "
8484
"modules.")
8585
TSAN_FLAG(bool, shared_ptr_interceptor, true,

0 commit comments

Comments
 (0)