summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-09-17 03:18:45 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-09-17 03:18:45 +0000
commit40c19aaf8451bd60b9d9dc56bf0e372a90995bcf (patch)
tree33d5c09c97e64855fa67df89955763d451a46771 /compiler-rt
parent4d743f5346546e2972ee41e033ddfdaeaf14e929 (diff)
downloadbcm5719-llvm-40c19aaf8451bd60b9d9dc56bf0e372a90995bcf.tar.gz
bcm5719-llvm-40c19aaf8451bd60b9d9dc56bf0e372a90995bcf.zip
tsan: increase internal memory block limit 1GB->4GB
llvm-svn: 164011
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_rtl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl.cc
index 40e2bf33ef8..a0b30ac748f 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc
+++ b/compiler-rt/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);
OpenPOWER on IntegriCloud