[compiler-rt] r229115 - tsan: remove internal deadlock detector from ThreadState in Go mode
Dmitry Vyukov
dvyukov at google.com
Fri Feb 13 07:37:11 PST 2015
Author: dvyukov
Date: Fri Feb 13 09:37:11 2015
New Revision: 229115
URL: http://llvm.org/viewvc/llvm-project?rev=229115&view=rev
Log:
tsan: remove internal deadlock detector from ThreadState in Go mode
Go does not use that.
https://code.google.com/p/thread-sanitizer/issues/detail?id=89
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.h
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.h?rev=229115&r1=229114&r2=229115&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.h Fri Feb 13 09:37:11 2015
@@ -367,7 +367,9 @@ struct ThreadState {
const uptr tls_size;
ThreadContext *tctx;
+#if SANITIZER_DEBUG && !SANITIZER_GO
InternalDeadlockDetector internal_deadlock_detector;
+#endif
DDPhysicalThread *dd_pt;
DDLogicalThread *dd_lt;
More information about the llvm-commits
mailing list