diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-09-17 03:18:45 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-09-17 03:18:45 +0000 |
commit | 9c6c5a26ec1e49f379515d2403b8b206bf2755c3 (patch) | |
tree | 1e20b554994f34feb64b1eba37885ce77e4bd721 /lib | |
parent | d0dc91869f197d2df69ceaecce0889931e18de67 (diff) |
tsan: increase internal memory block limit 1GB->4GB
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tsan/rtl/tsan_rtl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/rtl/tsan_rtl.cc b/lib/tsan/rtl/tsan_rtl.cc index 40e2bf33e..a0b30ac74 100644 --- a/lib/tsan/rtl/tsan_rtl.cc +++ b/lib/tsan/rtl/tsan_rtl.cc @@ -454,7 +454,7 @@ static void MemoryRangeSet(ThreadState *thr, uptr pc, uptr addr, uptr size, // Some programs mmap like hundreds of GBs but actually used a small part. // So, it's better to report a false positive on the memory // then to hang here senselessly. - const uptr kMaxResetSize = 1024*1024*1024; + const uptr kMaxResetSize = 4ull*1024*1024*1024; if (size > kMaxResetSize) size = kMaxResetSize; size = (size + (kShadowCell - 1)) & ~(kShadowCell - 1); |