From 33575fc5b11f638843784c839710c8d9c53adc46 Mon Sep 17 00:00:00 2001 From: lightaooii Date: Sat, 8 Feb 2025 17:39:18 +0800 Subject: [PATCH] [tsan]Fix link error for libcxx_call_once https://gitee.com/openharmony/third_party_llvm-project/issues/IBKZ0O Signed-off-by: lightaooii --- compiler-rt/test/tsan/libcxx_call_once.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/libcxx_call_once.cpp b/compiler-rt/test/tsan/libcxx_call_once.cpp index 3e9e20a8e47d..b11e4c7af615 100644 --- a/compiler-rt/test/tsan/libcxx_call_once.cpp +++ b/compiler-rt/test/tsan/libcxx_call_once.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t && %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan %s %link_libcxx_tsan -o %t && %run %t 2>&1 | FileCheck %s // REQUIRES: ohos_family -- Gitee