llvm-project/compiler-rt/test/tsan/Darwin
Kuba Brecka 19679f97ed [tsan] Cast floating-point types correctly when instrumenting atomic accesses, compiler-rt part
Although rare, atomic accesses to floating-point types seem to be valid, i.e. `%a = load atomic float ...`. The TSan instrumentation pass however tries to emit inttoptr, which is incorrect, we should use a bitcast here. Anyway, IRBuilder already has a convenient helper function for this.

Differential Revision: https://reviews.llvm.org/D26266

llvm-svn: 286136
2016-11-07 19:10:13 +00:00
..
dispatch_main.mm [asan,tsan] Make Darwin-specific tests more stable (use ignore_interceptors_accesses=1 for GCD tests and printf instead of NSLog). 2016-04-04 14:54:05 +00:00
dispatch_once_deadlock.mm [tsan] dispatch_once interceptor will cause a crash/deadlock when the original dispatch_once is used 2016-07-05 13:39:54 +00:00
dlopen.cc [sanitizer] On OS X, verify that interceptors work and abort if not, take 2 2016-03-17 08:37:25 +00:00
gcd-after.mm [tsan] Add support for GCD's dispatch_after and dispatch_after_f 2016-05-19 15:31:42 +00:00
gcd-apply-race.mm [tsan] Fix hanging gcd-apply and gcd-apply-race tests on macOS Sierra 2016-09-14 13:53:06 +00:00
gcd-apply.mm [tsan] Fix hanging gcd-apply and gcd-apply-race tests on macOS Sierra 2016-09-14 13:53:06 +00:00
gcd-async-norace.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-async-race.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-barrier-race.mm [tsan] Add HB edges for GCD barrier blocks 2016-06-27 16:49:23 +00:00
gcd-barrier.mm [tsan] Add HB edges for GCD barrier blocks 2016-06-27 16:49:23 +00:00
gcd-blocks.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
gcd-data.mm [tsan] Avoid false positives with GCD data callbacks 2016-07-07 12:38:37 +00:00
gcd-fd.mm [tsan] Add support for GCD IO channels on Darwin 2016-07-11 15:57:50 +00:00
gcd-groups-destructor.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
gcd-groups-leave.mm [tsan] Synchronize leaving a GCD group with notifications 2016-07-05 13:48:54 +00:00
gcd-groups-norace.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-groups-stress.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-io-barrier-race.mm [tsan] Add support for GCD IO channels on Darwin 2016-07-11 15:57:50 +00:00
gcd-io-barrier.mm [tsan] Add support for GCD IO channels on Darwin 2016-07-11 15:57:50 +00:00
gcd-io-cleanup.mm [tsan] Add support for GCD IO channels on Darwin 2016-07-11 15:57:50 +00:00
gcd-io-race.mm Disable the "gcd-io-race.mm" test to investigate bot hangs due to the test being deadlocked. 2016-07-12 15:41:14 +00:00
gcd-io.mm [tsan] Add support for GCD IO channels on Darwin 2016-07-11 15:57:50 +00:00
gcd-once.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-semaphore-norace.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-serial-queue-norace.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-source-cancel.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-cancel2.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-event.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-event2.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-registration.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-registration2.mm [tsan] Add support for dispatch event sources 2016-04-07 11:38:53 +00:00
gcd-source-serial.mm [tsan] Fix false positives with GCD dispatch_source_* 2016-07-06 11:02:49 +00:00
gcd-sync-norace.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-sync-race.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
gcd-target-queue-norace.mm [tsan] Add support for GCD target queues 2016-10-31 18:28:02 +00:00
ignored-interceptors.mm [tsan] Relax the "ignored-interceptors.mm" testcase. The test has been flaky because it's detecting a false positive race (coming from a system library) and sometimes that race is detected after we're printing "Done". 2016-07-01 12:55:36 +00:00
libcxx-call-once.mm [tsan] Support C++11 call_once in TSan on Darwin 2016-09-08 10:15:20 +00:00
libcxx-shared-ptr-recursive.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
libcxx-shared-ptr-stress.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
libcxx-shared-ptr.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
lit.local.cfg
malloc-stack-logging.cc Follow-up for r264261, adding a comment explaining what the testcase does. 2016-03-24 13:20:38 +00:00
malloc_size.mm [tsan] Change some OS X tests to include system headers (xpc.h, mman.h) more explicitly. 2016-05-25 16:04:24 +00:00
objc-double-property.mm [tsan] Cast floating-point types correctly when instrumenting atomic accesses, compiler-rt part 2016-11-07 19:10:13 +00:00
objc-race.mm [tsan] Fix Darwin tests (missing FileCheck's) 2016-04-07 11:31:02 +00:00
objc-simple.mm Adapt the "objc-race.mm" test to use ignore_interceptors_accesses=1. All Obj-C/Darwin tests currently need this to avoid false positives. 2016-06-28 13:56:09 +00:00
osatomics-add.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
osatomics-bitops.mm [tsan] Fix the behavior of OSAtomicTestAndClear 2016-08-02 14:30:52 +00:00
osatomics-list.mm test: Use %clangxx in objc++ test files 2016-07-09 21:14:36 +00:00
osspinlock-norace.cc [tsan] Add interceptors for Darwin-specific locking APIs 2015-12-03 15:10:52 +00:00
realloc-zero.cc [tsan] Fix behavior of realloc(nullptr, 0) on Darwin 2016-08-02 14:22:12 +00:00
symbolizer-atos.cc [compiler-rt] Remove SANITIZER_AARCH64_VMA usage 2015-11-30 19:43:03 +00:00
symbolizer-dladdr.cc [compiler-rt] Remove SANITIZER_AARCH64_VMA usage 2015-11-30 19:43:03 +00:00
xpc-race.mm [tsan] Change some OS X tests to include system headers (xpc.h, mman.h) more explicitly. 2016-05-25 16:04:24 +00:00
xpc.mm [tsan] Change some OS X tests to include system headers (xpc.h, mman.h) more explicitly. 2016-05-25 16:04:24 +00:00