[compiler-rt] r185817 - [lsan] Fix test.
Sergey Matveev
earthdok at google.com
Mon Jul 8 07:08:05 PDT 2013
Author: smatveev
Date: Mon Jul 8 09:08:05 2013
New Revision: 185817
URL: http://llvm.org/viewvc/llvm-project?rev=185817&view=rev
Log:
[lsan] Fix test.
Modified:
compiler-rt/trunk/lib/lsan/lit_tests/TestCases/fork_threaded.cc
Modified: compiler-rt/trunk/lib/lsan/lit_tests/TestCases/fork_threaded.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lit_tests/TestCases/fork_threaded.cc?rev=185817&r1=185816&r2=185817&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lit_tests/TestCases/fork_threaded.cc (original)
+++ compiler-rt/trunk/lib/lsan/lit_tests/TestCases/fork_threaded.cc Mon Jul 8 09:08:05 2013
@@ -21,8 +21,7 @@ void ExitFromThread() {
int res;
res = pthread_create(&tid, 0, exit_thread_func, 0);
assert(res == 0);
- res = pthread_join(tid, 0);
- assert(res == 0);
+ pthread_join(tid, 0);
}
int main() {
More information about the llvm-commits
mailing list