From: Qin Zhao Date: Fri, 7 Oct 2016 20:53:35 +0000 (+0000) Subject: Fix ESan test failure on Debian Sid bot X-Git-Tag: archive/raspbian/1%3.9.1-9+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ea112b710d5d5710d7f931443a0d6c0b9b5bea6c;p=llvm-toolchain-3.9.git 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 Gbp-Pq: Name esan-Fix-ESan-test-failure-on-Debian-Sid-bot2.diff --- diff --git a/compiler-rt/lib/esan/esan_interceptors.cpp b/compiler-rt/lib/esan/esan_interceptors.cpp index baeb47d7..9ae5482a 100644 --- a/compiler-rt/lib/esan/esan_interceptors.cpp +++ b/compiler-rt/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];