[PATCH] D20927: tsan: clean up dynamic TLS memory between reuse

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 11:15:49 PDT 2016


kcc added a subscriber: kcc.

================
Comment at: lib/tsan/rtl/tsan_rtl_thread.cc:140
@@ -138,1 +139,3 @@
   thr->~ThreadState();
+#ifndef SANITIZER_GO
+  DTLS_Destroy();
----------------
Please, can you stop adding #ifdefs? 


http://reviews.llvm.org/D20927





More information about the llvm-commits mailing list