From a7ecbe56857c20d49c16d8a685d34e472e6422fc Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 22 Sep 2015 22:24:46 +0000 Subject: [PATCH] [asan] Add missing -pthread in tests. llvm-svn: 248332 --- compiler-rt/test/asan/TestCases/Linux/pthread_create_version.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 74bbe6c424ce..efdb8ca97c4f 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.