[PATCH] D17639: [asan] Fix recvfrom.cc testcase failure in large parallel tests run.
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 26 02:58:39 PST 2016
dvyukov added inline comments.
================
Comment at: test/asan/TestCases/Linux/recvfrom.cc:16
@@ -16,3 +15,3 @@
-const int kPortNum = 1234;
+int kPortNum = 1234;
const int kBufSize = 10;
----------------
s/kPortNum/portNum/
this is not a constant anymore
================
Comment at: test/asan/TestCases/Linux/recvfrom.cc:40
@@ -35,1 +39,3 @@
+ // value.
+ pthread_mutex_unlock(&server_ready_mu);
recvfrom(sockfd, buf, kBufSize, 0, NULL, NULL); // BOOM
----------------
I don't see where the mutex is locked... where is it?
Repository:
rL LLVM
http://reviews.llvm.org/D17639
More information about the llvm-commits
mailing list