From ea112b710d5d5710d7f931443a0d6c0b9b5bea6c Mon Sep 17 00:00:00 2001 From: Qin Zhao Date: Fri, 7 Oct 2016 20:53:35 +0000 Subject: [PATCH] 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 --- compiler-rt/lib/esan/esan_interceptors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2