diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-07-16 16:44:47 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-07-16 16:44:47 +0000 |
commit | 5bfac97ff9fce86ad3d723455f85f9f3c09cc15c (patch) | |
tree | bfc336bfa62a34fb613768555c2f2a37bba01c35 /compiler-rt/lib/tsan/rtl/tsan_defs.h | |
parent | 6c7dbf5858726d7ed5a2c1bc7143cc2792cbd820 (diff) | |
download | bcm5719-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.h | 4 |
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 |