[llvm-commits] [compiler-rt] r164011 - /compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc

Dmitry Vyukov dvyukov at google.com
Sun Sep 16 20:18:46 PDT 2012


Author: dvyukov
Date: Sun Sep 16 22:18:45 2012
New Revision: 164011

URL: http://llvm.org/viewvc/llvm-project?rev=164011&view=rev
Log:
tsan: increase internal memory block limit 1GB->4GB

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc?rev=164011&r1=164010&r2=164011&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc Sun Sep 16 22:18:45 2012
@@ -454,7 +454,7 @@
   // 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);





More information about the llvm-commits mailing list