diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-11-28 13:01:32 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-11-28 13:01:32 +0000 |
| commit | eb3d36e6490315066f0c6267586d7523424be465 (patch) | |
| tree | b934a4be3b766ec556e864fb9bf5562800785e1b /compiler-rt/lib/tsan/rtl/tsan_flags.cc | |
| parent | 3374e3f874ea70cf7789e039be935fa6a6f7719c (diff) | |
| download | bcm5719-llvm-eb3d36e6490315066f0c6267586d7523424be465.tar.gz bcm5719-llvm-eb3d36e6490315066f0c6267586d7523424be465.zip | |
tsan: address several review comments
llvm-svn: 168789
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_flags.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_flags.cc b/compiler-rt/lib/tsan/rtl/tsan_flags.cc index 942d392e5cb..e3a18da579e 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_flags.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_flags.cc @@ -56,11 +56,7 @@ void InitializeFlags(Flags *f, const char *env) { f->stop_on_start = false; f->running_on_valgrind = false; f->external_symbolizer_path = ""; - f->history_size = 2; - -#ifdef TSAN_GO - f->history_size = 1; // There are a lot of goroutines. -#endif + f->history_size = kGoMode ? 1 : 2; // There are a lot of goroutines in Go. // Let a frontend override. OverrideFlags(f); |

