summaryrefslogtreecommitdiff
path: root/test/tsan/Darwin/xpc.mm
Commit message (Collapse)AuthorAgeFilesLines
* [tsan] Add support for running TSan tests on iOS simulator and devicesKuba Mracek2017-07-101-1/+1
| | | | | | | | Differential Revision: https://reviews.llvm.org/D35157 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@307537 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL the TSan XPC tests on iOS. XPC isn't available on iOS.Kuba Mracek2017-04-261-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301459 91177308-0d34-0410-b5e6-96231b3b80d8
* [tsan] Enable ignore_noninstrumented_modules=1 on Darwin by defaultKuba Mracek2017-01-241-1/+1
| | | | | | | | | | 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
* [tsan] Change some OS X tests to include system headers (xpc.h, mman.h) more ↵Kuba Brecka2016-05-251-0/+1
| | | | | | explicitly. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270713 91177308-0d34-0410-b5e6-96231b3b80d8
* [tsan] Add XPC support (OS X)Kuba Brecka2016-04-071-0/+73
XPC APIs have async callbacks, and we need some more happen-before edges to avoid false positives. This patch add them, plus a test case (sorry for the long boilerplate code, but XPC just needs all that). Differential Revision: http://reviews.llvm.org/D18493 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@265661 91177308-0d34-0410-b5e6-96231b3b80d8