[llvm-commits] [compiler-rt] r157570 - /compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
Dmitry Vyukov
dvyukov at google.com
Mon May 28 02:24:01 PDT 2012
Author: dvyukov
Date: Mon May 28 04:24:01 2012
New Revision: 157570
URL: http://llvm.org/viewvc/llvm-project?rev=157570&view=rev
Log:
tsan: increase /proc/self/maps max size (1M is far not enough)
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc?rev=157570&r1=157569&r2=157570&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc Mon May 28 04:24:01 2012
@@ -247,7 +247,7 @@
*tls_size = g_tls_size;
if (main) {
- uptr kBufSize = 1 << 20;
+ uptr kBufSize = 1 << 26;
char *buf = (char*)my_mmap(0, kBufSize, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANON, -1, 0);
fd_t maps = internal_open("/proc/self/maps", false);
More information about the llvm-commits
mailing list