[compiler-rt] f467cc9 - [tsan] Add missing link option to tsan test after #84923
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 17:23:30 PDT 2024
Author: Dave Clausen
Date: 2024-03-12T17:23:25-07:00
New Revision: f467cc9caf37fcf6b3523271f977585c39372d55
URL: https://github.com/llvm/llvm-project/commit/f467cc9caf37fcf6b3523271f977585c39372d55
DIFF: https://github.com/llvm/llvm-project/commit/f467cc9caf37fcf6b3523271f977585c39372d55.diff
LOG: [tsan] Add missing link option to tsan test after #84923
Pull Request: https://github.com/llvm/llvm-project/pull/85003
Added:
Modified:
compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp b/compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp
index b9fd0c5ad21f24..404fd2fbb3c226 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
More information about the llvm-commits
mailing list