[asan] Add missing -pthread in tests.

llvm-svn: 248332
This commit is contained in:
Evgeniy Stepanov 2015-09-22 22:24:46 +00:00
parent e5162dba49
commit a7ecbe5685
1 changed files with 1 additions and 1 deletions

View File

@ -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. // Regression test for the versioned pthread_create interceptor on linux/i386.
// pthread_attr_init is not intercepted and binds to the new abi // pthread_attr_init is not intercepted and binds to the new abi
// pthread_create is intercepted; dlsym always returns the oldest version. // pthread_create is intercepted; dlsym always returns the oldest version.