[compiler-rt] r220991 - [asan] increase the initial buffer size in caller-callee dumper

Kostya Serebryany kcc at google.com
Fri Oct 31 12:49:46 PDT 2014


Author: kcc
Date: Fri Oct 31 14:49:46 2014
New Revision: 220991

URL: http://llvm.org/viewvc/llvm-project?rev=220991&view=rev
Log:
[asan] increase the initial buffer size in caller-callee dumper

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc?rev=220991&r1=220990&r2=220991&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc Fri Oct 31 14:49:46 2014
@@ -325,7 +325,7 @@ void CoverageData::DumpCallerCalleePairs
   auto sym = Symbolizer::GetOrInit();
   if (!sym)
     return;
-  InternalScopedString out(4096 * 16);
+  InternalScopedString out(32 << 20);
   uptr total = 0;
   for (uptr i = 0; i < max_idx; i++) {
     uptr *cc_cache = cc_array[i];





More information about the llvm-commits mailing list