[lsan] Increase the hardcoded limit on number of leaks.

We never expected to see so many leaks in the real world. Until we did.

llvm-svn: 186157
This commit is contained in:
Sergey Matveev 2013-07-12 12:31:22 +00:00
parent 5dc99f1f91
commit 28dc98ab0d
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ static Suppression *GetSuppressionForStack(u32 stack_trace_id) {
// 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);