diff options
author | Sergey Matveev <earthdok@google.com> | 2013-07-12 12:31:22 +0000 |
---|---|---|
committer | Sergey Matveev <earthdok@google.com> | 2013-07-12 12:31:22 +0000 |
commit | 28dc98ab0d310d90c4710fbd2df5bd5f5aed5d6b (patch) | |
tree | c14c6f16173f8c11b570694e3636efdc83868f51 | |
parent | 5dc99f1f91ad931c59533ec675a1771a4347ca73 (diff) | |
download | bcm5719-llvm-28dc98ab0d310d90c4710fbd2df5bd5f5aed5d6b.tar.gz bcm5719-llvm-28dc98ab0d310d90c4710fbd2df5bd5f5aed5d6b.zip |
[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
-rw-r--r-- | compiler-rt/lib/lsan/lsan_common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common.cc b/compiler-rt/lib/lsan/lsan_common.cc index 534f154e8ca..fbb7a7457fd 100644 --- a/compiler-rt/lib/lsan/lsan_common.cc +++ b/compiler-rt/lib/lsan/lsan_common.cc @@ -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); |