summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_defs.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-07-16 16:44:47 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-07-16 16:44:47 +0000
commit5bfac97ff9fce86ad3d723455f85f9f3c09cc15c (patch)
treebfc336bfa62a34fb613768555c2f2a37bba01c35 /compiler-rt/lib/tsan/rtl/tsan_defs.h
parent6c7dbf5858726d7ed5a2c1bc7143cc2792cbd820 (diff)
downloadbcm5719-llvm-5bfac97ff9fce86ad3d723455f85f9f3c09cc15c.tar.gz
bcm5719-llvm-5bfac97ff9fce86ad3d723455f85f9f3c09cc15c.zip
tsan: use dynamic shadow stack for Go
llvm-svn: 160288
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_defs.h')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_defs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_defs.h b/compiler-rt/lib/tsan/rtl/tsan_defs.h
index 6406cdc5f2d..ca8f0aecc83 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_defs.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_defs.h
@@ -28,9 +28,7 @@ const int kTidBits = 13;
const unsigned kMaxTid = 1 << kTidBits;
const unsigned kMaxTidInClock = kMaxTid * 2; // This includes msb 'freed' bit.
const int kClkBits = 43;
-#ifdef TSAN_GO
-const int kShadowStackSize = 8 * 1024;
-#else
+#ifndef TSAN_GO
const int kShadowStackSize = 1024;
#endif
OpenPOWER on IntegriCloud