aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/OffloadBundle.cpp
diff options
context:
space:
mode:
authorDan Blackwell <dan_blackwell@apple.com>2025-10-07 16:15:00 +0100
committerGitHub <noreply@github.com>2025-10-07 16:15:00 +0100
commite40ff72df1b0e03b17e2abad40c4b97e7ae447d7 (patch)
treeea65849ae93af49eb8ac0548ff74fb6491892557 /llvm/lib/Object/OffloadBundle.cpp
parent3f6240775501945fd36f7b66fb23de0648b07f90 (diff)
downloadllvm-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/lib/Object/OffloadBundle.cpp')
0 files changed, 0 insertions, 0 deletions