forked from OSchip/llvm-project
[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:
parent
5dc99f1f91
commit
28dc98ab0d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue