summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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