projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc99f1
)
[lsan] Increase the hardcoded limit on number of leaks.
author
Sergey Matveev
<earthdok@google.com>
Fri, 12 Jul 2013 12:31:22 +0000
(12:31 +0000)
committer
Sergey Matveev
<earthdok@google.com>
Fri, 12 Jul 2013 12:31:22 +0000
(12:31 +0000)
We never expected to see so many leaks in the real world. Until we did.
llvm-svn: 186157
compiler-rt/lib/lsan/lsan_common.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/lsan/lsan_common.cc
b/compiler-rt/lib/lsan/lsan_common.cc
index 534f154e8ca396fc047f90b5223094afe1eaf48d..fbb7a7457fd6b1f3ad49edd61d6a23eccf6200d2 100644
(file)
--- 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 =
1
000;
+const uptr kMaxLeaksConsidered =
5
000;
void LeakReport::Add(u32 stack_trace_id, uptr leaked_size, ChunkTag tag) {
CHECK(tag == kDirectlyLeaked || tag == kIndirectlyLeaked);