summaryrefslogtreecommitdiff
path: root/lib/esan
diff options
context:
space:
mode:
authorQin Zhao <zhaoqin@google.com>2016-10-07 20:53:35 +0000
committerQin Zhao <zhaoqin@google.com>2016-10-07 20:53:35 +0000
commit9b149609c0dc08dc75537c44d43038c0e34b1321 (patch)
tree374969ed86ec09bfc9dafd39c31dc22b8926434e /lib/esan
parent2498141fa60b251fe5563eb4efbc3997f2f6ccbb (diff)
[esan] Fix ESan test failure on Debian Sid bot
Summary: Increase early allocation buffer size. Reviewers: bruening Subscribers: kubabrecka Differential Revision: https://reviews.llvm.org/D25380 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@283598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/esan')
-rw-r--r--lib/esan/esan_interceptors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/esan/esan_interceptors.cpp b/lib/esan/esan_interceptors.cpp
index baeb47d7c..9ae5482a3 100644
--- a/lib/esan/esan_interceptors.cpp
+++ b/lib/esan/esan_interceptors.cpp
@@ -461,7 +461,7 @@ INTERCEPTOR(int, pthread_sigmask, int how, __sanitizer_sigset_t *set,
// Malloc interceptors
//===----------------------------------------------------------------------===//
-static const uptr early_alloc_buf_size = 1024;
+static const uptr early_alloc_buf_size = 4096;
static uptr allocated_bytes;
static char early_alloc_buf[early_alloc_buf_size];