[PATCH] add Linux syscall wrappers and ThreadLister to sanitizer_common

Kostya Serebryany kcc at google.com
Wed Feb 27 00:36:56 PST 2013



================
Comment at: lib/sanitizer_common/tests/sanitizer_linux_test.cc:46
@@ +45,3 @@
+  *(pid_t *)tid_storage = GetTid();
+  pthread_cond_broadcast(&tid_reported_cond);
+
----------------
don't you want to grab tid_reported_mutex here? 


http://llvm-reviews.chandlerc.com/D464



More information about the llvm-commits mailing list