llvm-project/compiler-rt/test/tsan/libdispatch
Julian Lettner 40ae296bc3 [TSan][libdispatch] Guard test execution on old platforms
`dispatch_async_and_wait()` was introduced in macOS 10.14.  Let's
forward declare it to ensure we can compile the test with older SDKs and
guard execution by checking if the symbol is available.  (We can't use
`__builtin_available()`, because that itself requires a higher minimum
deployment target.)  We also need to specify the `-undefined
dynamic_lookup` compiler flag.

Differential Revision: https://reviews.llvm.org/D85995
2020-08-18 18:34:14 -07:00
..
after.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
apply-race.c
apply.c
async-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
async-race.c
async_and_wait.c [TSan][libdispatch] Guard test execution on old platforms 2020-08-18 18:34:14 -07:00
barrier-race.c
barrier.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
blocks.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
data.c
dispatch_main.c
dispatch_once_deadlock.c [TSan] Fix test failing on Linux 2019-08-13 00:37:48 +00:00
fd.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
groups-destructor.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
groups-leave.c
groups-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
groups-stress.c
io-barrier-race.c
io-barrier.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
io-cleanup.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
io-race.c
io.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
lit.local.cfg.py [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
once.c
semaphore-norace.c
serial-queue-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-cancel.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-cancel2.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-event.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-event2.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-registration.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-registration2.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
source-serial.c
suspend.c
sync-block-copy.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
sync-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
sync-race.c
target-queue-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00