diff options
author | Kuba Mracek <mracek@apple.com> | 2017-01-24 21:37:50 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-01-24 21:37:50 +0000 |
commit | 05a7fb8b0c3ae7e743fcba9befc1ea6c362ae0f4 (patch) | |
tree | 50fb4298b6c9036e1903be47afcd2a646e3bc613 /test/tsan/Darwin/gcd-source-cancel2.mm | |
parent | 1726b7ba1866bfe3b6d66a5228cf2cb29a3fa2be (diff) | |
download | compiler-rt-05a7fb8b0c3ae7e743fcba9befc1ea6c362ae0f4.tar.gz |
[tsan] Enable ignore_noninstrumented_modules=1 on Darwin by default
TSan recently got the "ignore_noninstrumented_modules" flag, which disables tracking of read and writes that come from noninstrumented modules (via interceptors). This is a way of suppressing false positives coming from system libraries and other noninstrumented code. This patch turns this on by default on Darwin, where it's supposed to replace the previous solution, "ignore_interceptors_accesses", which disables tracking in *all* interceptors. The new approach should re-enable TSan's ability to find races via interceptors on Darwin.
Differential Revision: https://reviews.llvm.org/D29041
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@292981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/Darwin/gcd-source-cancel2.mm')
-rw-r--r-- | test/tsan/Darwin/gcd-source-cancel2.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/Darwin/gcd-source-cancel2.mm b/test/tsan/Darwin/gcd-source-cancel2.mm index 956fe8729..92b31d7d0 100644 --- a/test/tsan/Darwin/gcd-source-cancel2.mm +++ b/test/tsan/Darwin/gcd-source-cancel2.mm @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -framework Foundation -// RUN: %env_tsan_opts=ignore_interceptors_accesses=1 %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s #import <Foundation/Foundation.h> |