[PATCH] [asan] Improve thread lifetime tracking on POSIX systems.

Kostya Serebryany kcc at google.com
Mon Oct 14 02:49:54 PDT 2013



================
Comment at: lib/asan/asan_thread.cc:173
@@ +172,3 @@
+  // the TSD destructors have run might cause false positives in LSan.
+  if (!SANITIZER_POSIX)
+    this->Destroy();
----------------
I don't like this 'if'. What will happen on Windos? Won't PlatformTSDDtor be called? 


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



More information about the llvm-commits mailing list