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

Alexey Samsonov vonosmas at gmail.com
Mon Aug 18 15:09:18 PDT 2014


Author: samsonov
Date: Mon Aug 18 17:09:17 2014
New Revision: 215939

URL: http://llvm.org/viewvc/llvm-project?rev=215939&view=rev
Log:
[TSan] Add -lpthread to the test which uses pthread_ functions

Modified:
    compiler-rt/trunk/test/tsan/pthread_atfork_deadlock.c

Modified: compiler-rt/trunk/test/tsan/pthread_atfork_deadlock.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/pthread_atfork_deadlock.c?rev=215939&r1=215938&r2=215939&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/pthread_atfork_deadlock.c (original)
+++ compiler-rt/trunk/test/tsan/pthread_atfork_deadlock.c Mon Aug 18 17:09:17 2014
@@ -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





More information about the llvm-commits mailing list