summaryrefslogtreecommitdiff
path: root/test/tsan/Darwin/gcd-io-race.mm
AgeCommit message (Collapse)Author
2017-01-24[tsan] Enable ignore_noninstrumented_modules=1 on Darwin by defaultKuba Mracek
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
2016-07-12Disable the "gcd-io-race.mm" test to investigate bot hangs due to the test ↵Kuba Brecka
being deadlocked. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275182 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-11[tsan] Add support for GCD IO channels on DarwinKuba Brecka
This patch adds interceptors for dispatch_io_*, dispatch_read and dispatch_write functions. This avoids false positives when using GCD IO. Adding several test cases. Differential Revision: http://reviews.llvm.org/D21889 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275071 91177308-0d34-0410-b5e6-96231b3b80d8