diff options
author | Dan Blackwell <dan_blackwell@apple.com> | 2025-10-07 16:15:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-07 16:15:00 +0100 |
commit | e40ff72df1b0e03b17e2abad40c4b97e7ae447d7 (patch) | |
tree | ea65849ae93af49eb8ac0548ff74fb6491892557 /llvm/test/tools/llvm-offload-binary/llvm-offload-binary.ll | |
parent | 3f6240775501945fd36f7b66fb23de0648b07f90 (diff) | |
download | llvm-e40ff72df1b0e03b17e2abad40c4b97e7ae447d7.zip llvm-e40ff72df1b0e03b17e2abad40c4b97e7ae447d7.tar.gz llvm-e40ff72df1b0e03b17e2abad40c4b97e7ae447d7.tar.bz2 |
[TSan][test-only] Make TSan os_unfair_lock.c test check the weak symbol before usage (#161173)
The os_unfair_lock.c test can currently fail with a null dereference if
compiled on a platform with `os_unfair_lock_lock_with_flags`, but then
executed on a platform without the function.
This patch fixes this by first checking whether the symbol exists, and
falls back to `os_unfair_lock_lock` if not.
rdar://160596542
Diffstat (limited to 'llvm/test/tools/llvm-offload-binary/llvm-offload-binary.ll')
0 files changed, 0 insertions, 0 deletions