Fix ESan test failure on Debian Sid bot
authorQin Zhao <zhaoqin@google.com>
Fri, 7 Oct 2016 20:53:35 +0000 (20:53 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 2 Jun 2017 13:14:18 +0000 (13:14 +0000)
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

Gbp-Pq: Name esan-Fix-ESan-test-failure-on-Debian-Sid-bot2.diff

compiler-rt/lib/esan/esan_interceptors.cpp

index baeb47d7ccd18d5ecdf972720100d9c2fdb5a195..9ae5482a3cadcd1789085791394ea4aa1e4ba92e 100644 (file)
@@ -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];