[TSan] Add -lpthread to the test which uses pthread_ functions

llvm-svn: 215939
This commit is contained in:
Alexey Samsonov 2014-08-18 22:09:17 +00:00
parent 4f867bfada
commit 591d15272e
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
// RUN: %clang_tsan -O1 %s -lpthread -o %t && %deflake %run %t | FileCheck %s
// Regression test for
// https://code.google.com/p/thread-sanitizer/issues/detail?id=61
// When the data race was reported, pthread_atfork() handler used to be