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 [TSan][libdispatch] Move libdispatch tests out of Darwin folder 2019-04-12 23:07:00 +00:00
async_and_wait.c [TSan][libdispatch] Guard test execution on old platforms 2020-08-18 18:34:14 -07:00
barrier-race.c [TSan][libdispatch] Move libdispatch tests out of Darwin folder 2019-04-12 23:07:00 +00:00
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 [TSan][libdispatch] Fix failing test 2019-04-12 18:31:09 +00:00
dispatch_main.c [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
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 [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
groups-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00
groups-stress.c [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
io-barrier-race.c [TSan][libdispatch] Move libdispatch tests out of Darwin folder 2019-04-12 23:07:00 +00:00
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 [TSan][libdispatch] Enable test that supposedly deadlocks on bot 2019-05-09 22:47:19 +00:00
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 [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
semaphore-norace.c [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
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 [TSan][libdispatch] Re-enable disabled tests 2019-04-11 18:34:47 +00:00
suspend.c [TSan][libdispatch] Stricter checks via `--implicit-check-not` 2019-04-04 21:25:56 +00:00
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 [TSan][libdispatch] Move libdispatch tests out of Darwin folder 2019-04-12 23:07:00 +00:00
target-queue-norace.c [TSan][libdispatch] Use FileCheck's --implicit-check-not=... 2019-05-16 18:57:36 +00:00