[llvm-commits] [compiler-rt] r156711 - /compiler-rt/trunk/lib/asan/asan_rtl.cc

Alexander Potapenko glider at google.com
Sat May 12 05:33:41 PDT 2012


Author: glider
Date: Sat May 12 07:33:41 2012
New Revision: 156711

URL: http://llvm.org/viewvc/llvm-project?rev=156711&view=rev
Log:
Increase error_message_buffer_size to 64K (16K is insufficient for large programs)


Modified:
    compiler-rt/trunk/lib/asan/asan_rtl.cc

Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=156711&r1=156710&r2=156711&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Sat May 12 07:33:41 2012
@@ -321,7 +321,7 @@
 void NOINLINE __asan_set_error_report_callback(void (*callback)(const char*)) {
   error_report_callback = callback;
   if (callback) {
-    error_message_buffer_size = 1 << 14;
+    error_message_buffer_size = 1 << 16;
     error_message_buffer =
         (char*)AsanMmapSomewhereOrDie(error_message_buffer_size, __FUNCTION__);
     error_message_buffer_pos = 0;





More information about the llvm-commits mailing list