summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-22 22:24:46 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-22 22:24:46 +0000
commita7ecbe56857c20d49c16d8a685d34e472e6422fc (patch)
tree5219b0d57a38b9623c67dfddde44e4e409e1b0c0
parente5162dba49890d9d436ea99d003c792897c9b880 (diff)
downloadbcm5719-llvm-a7ecbe56857c20d49c16d8a685d34e472e6422fc.tar.gz
bcm5719-llvm-a7ecbe56857c20d49c16d8a685d34e472e6422fc.zip
[asan] Add missing -pthread in tests.
llvm-svn: 248332
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc b/compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc
index 74bbe6c424c..efdb8ca97c4 100644
--- a/compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc
@@ -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.
OpenPOWER on IntegriCloud