[compiler-rt] dd87c5b - Revert "[sanitizer] Fix test linking"

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 23:44:03 PST 2021


Author: Vitaly Buka
Date: 2021-11-12T23:42:35-08:00
New Revision: dd87c5b322684b072e9df3058b84d09a702a1ea4

URL: https://github.com/llvm/llvm-project/commit/dd87c5b322684b072e9df3058b84d09a702a1ea4
DIFF: https://github.com/llvm/llvm-project/commit/dd87c5b322684b072e9df3058b84d09a702a1ea4.diff

LOG: Revert "[sanitizer] Fix test linking"

This reverts commit afafa883a4757d88d869d1abb6bf7e11022fd521.

-pthread was not the fix. Symbols removed from GLIBC 2.34
Fixed with e60b3fcefa62311a93a9f7c8589a1da5f25b1ba9.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
index d5f5e30306f0..fee88666b2ec 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
@@ -1,5 +1,5 @@
-// RUN: %clangxx -O1 -pthread %s -o %t && %run %t
-// RUN: %clangxx -O1 -pthread -DUSE_GLIBC %s -o %t && %run %t
+// RUN: %clangxx -O1 %s -o %t && %run %t
+// RUN: %clangxx -O1 -DUSE_GLIBC %s -o %t && %run %t
 // UNSUPPORTED: android
 
 #include <pthread.h>


        


More information about the llvm-commits mailing list