[PATCH] D29041: [tsan] Enable ignore_noninstrumented_modules=1 on Darwin by default
Kuba (Brecka) Mracek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 11:15:55 PST 2017
kubamracek created this revision.
kubamracek added a project: Sanitizers.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D29041
Files:
lib/tsan/rtl/tsan_flags.inc
test/tsan/Darwin/dispatch_main.mm
test/tsan/Darwin/dispatch_once_deadlock.mm
test/tsan/Darwin/gcd-after.mm
test/tsan/Darwin/gcd-apply-race.mm
test/tsan/Darwin/gcd-apply.mm
test/tsan/Darwin/gcd-async-norace.mm
test/tsan/Darwin/gcd-async-race.mm
test/tsan/Darwin/gcd-barrier-race.mm
test/tsan/Darwin/gcd-barrier.mm
test/tsan/Darwin/gcd-blocks.mm
test/tsan/Darwin/gcd-data.mm
test/tsan/Darwin/gcd-fd.mm
test/tsan/Darwin/gcd-groups-destructor.mm
test/tsan/Darwin/gcd-groups-leave.mm
test/tsan/Darwin/gcd-groups-norace.mm
test/tsan/Darwin/gcd-groups-stress.mm
test/tsan/Darwin/gcd-io-barrier-race.mm
test/tsan/Darwin/gcd-io-barrier.mm
test/tsan/Darwin/gcd-io-cleanup.mm
test/tsan/Darwin/gcd-io-race.mm
test/tsan/Darwin/gcd-io.mm
test/tsan/Darwin/gcd-once.mm
test/tsan/Darwin/gcd-semaphore-norace.mm
test/tsan/Darwin/gcd-serial-queue-norace.mm
test/tsan/Darwin/gcd-source-cancel.mm
test/tsan/Darwin/gcd-source-cancel2.mm
test/tsan/Darwin/gcd-source-event.mm
test/tsan/Darwin/gcd-source-event2.mm
test/tsan/Darwin/gcd-source-registration.mm
test/tsan/Darwin/gcd-source-registration2.mm
test/tsan/Darwin/gcd-source-serial.mm
test/tsan/Darwin/gcd-suspend.mm
test/tsan/Darwin/gcd-sync-norace.mm
test/tsan/Darwin/gcd-sync-race.mm
test/tsan/Darwin/gcd-target-queue-norace.mm
test/tsan/Darwin/ignore-noninstrumented.mm
test/tsan/Darwin/ignored-interceptors.mm
test/tsan/Darwin/libcxx-call-once.mm
test/tsan/Darwin/libcxx-future.mm
test/tsan/Darwin/libcxx-shared-ptr-recursive.mm
test/tsan/Darwin/libcxx-shared-ptr-stress.mm
test/tsan/Darwin/libcxx-shared-ptr.mm
test/tsan/Darwin/lit.local.cfg
test/tsan/Darwin/norace-objcxx-run-time.mm
test/tsan/Darwin/objc-double-property.mm
test/tsan/Darwin/objc-simple.mm
test/tsan/Darwin/xpc-race.mm
test/tsan/Darwin/xpc.mm
test/tsan/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29041.85427.patch
Type: text/x-patch
Size: 23659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/09496d7b/attachment.bin>
More information about the llvm-commits
mailing list