[compiler-rt] r186157 - [lsan] Increase the hardcoded limit on number of leaks.
Sergey Matveev
earthdok at google.com
Fri Jul 12 05:31:22 PDT 2013
Author: smatveev
Date: Fri Jul 12 07:31:22 2013
New Revision: 186157
URL: http://llvm.org/viewvc/llvm-project?rev=186157&view=rev
Log:
[lsan] Increase the hardcoded limit on number of leaks.
We never expected to see so many leaks in the real world. Until we did.
Modified:
compiler-rt/trunk/lib/lsan/lsan_common.cc
Modified: compiler-rt/trunk/lib/lsan/lsan_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_common.cc?rev=186157&r1=186156&r2=186157&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common.cc (original)
+++ compiler-rt/trunk/lib/lsan/lsan_common.cc Fri Jul 12 07:31:22 2013
@@ -420,7 +420,7 @@ static Suppression *GetSuppressionForSta
// real-world applications.
// FIXME: Get rid of this limit by changing the implementation of LeakReport to
// use a hash table.
-const uptr kMaxLeaksConsidered = 1000;
+const uptr kMaxLeaksConsidered = 5000;
void LeakReport::Add(u32 stack_trace_id, uptr leaked_size, ChunkTag tag) {
CHECK(tag == kDirectlyLeaked || tag == kIndirectlyLeaked);
More information about the llvm-commits
mailing list