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

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 11:34:38 PDT 2016


dvyukov marked an inline comment as done.

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


http://reviews.llvm.org/D20927





More information about the llvm-commits mailing list