diff options
author | Dave Clausen <daveclausen@gmail.com> | 2024-03-12 17:21:00 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2024-03-12 17:23:25 -0700 |
commit | f467cc9caf37fcf6b3523271f977585c39372d55 (patch) | |
tree | bdcac3b44d0926e391f4e656e5e6be201b2b7181 | |
parent | 2f400a2fd77b44d34281792aca84c42e149095e7 (diff) | |
download | llvm-f467cc9caf37fcf6b3523271f977585c39372d55.zip llvm-f467cc9caf37fcf6b3523271f977585c39372d55.tar.gz llvm-f467cc9caf37fcf6b3523271f977585c39372d55.tar.bz2 |
[tsan] Add missing link option to tsan test after #84923
Pull Request: https://github.com/llvm/llvm-project/pull/85003
-rw-r--r-- | compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp b/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp index b9fd0c5..404fd2f 100644 --- a/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp +++ b/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 +// RUN: %clangxx_tsan -O1 %s %link_libcxx_tsan -o %t && %run %t 2>&1 // This is a correct program and tsan should not report a race. // // Verify that there is a happens-before relationship between a |