diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-08-18 22:09:17 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-08-18 22:09:17 +0000 |
commit | be2854e239a5e311f4d564343ba1a438dd571ace (patch) | |
tree | 970a1b5740ab59df6299ec0389905d882185d437 /test/tsan/pthread_atfork_deadlock.c | |
parent | 007293c9797eefa3cc71042612f87ba10f498f73 (diff) |
[TSan] Add -lpthread to the test which uses pthread_ functions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@215939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/pthread_atfork_deadlock.c')
-rw-r--r-- | test/tsan/pthread_atfork_deadlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/pthread_atfork_deadlock.c b/test/tsan/pthread_atfork_deadlock.c index 965de05b4..0f33b9022 100644 --- a/test/tsan/pthread_atfork_deadlock.c +++ b/test/tsan/pthread_atfork_deadlock.c @@ -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 |