[compiler-rt] r248332 - [asan] Add missing -pthread in tests.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 15:24:46 PDT 2015


Author: eugenis
Date: Tue Sep 22 17:24:46 2015
New Revision: 248332

URL: http://llvm.org/viewvc/llvm-project?rev=248332&view=rev
Log:
[asan] Add missing -pthread in tests.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/pthread_create_version.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/pthread_create_version.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/pthread_create_version.cc?rev=248332&r1=248331&r2=248332&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/pthread_create_version.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/pthread_create_version.cc Tue Sep 22 17:24:46 2015
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -std=c++11 %s -o %t && %run %t 2>&1
+// RUN: %clangxx_asan -std=c++11 -pthread %s -o %t && %run %t 2>&1
 // Regression test for the versioned pthread_create interceptor on linux/i386.
 // pthread_attr_init is not intercepted and binds to the new abi
 // pthread_create is intercepted; dlsym always returns the oldest version.




More information about the llvm-commits mailing list