[compiler-rt] r283598 - [esan] Fix ESan test failure on Debian Sid bot

Qin Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 13:53:36 PDT 2016


Author: zhaoqin
Date: Fri Oct  7 15:53:35 2016
New Revision: 283598

URL: http://llvm.org/viewvc/llvm-project?rev=283598&view=rev
Log:
[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

Modified:
    compiler-rt/trunk/lib/esan/esan_interceptors.cpp

Modified: compiler-rt/trunk/lib/esan/esan_interceptors.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/esan/esan_interceptors.cpp?rev=283598&r1=283597&r2=283598&view=diff
==============================================================================
--- compiler-rt/trunk/lib/esan/esan_interceptors.cpp (original)
+++ compiler-rt/trunk/lib/esan/esan_interceptors.cpp Fri Oct  7 15:53:35 2016
@@ -461,7 +461,7 @@ INTERCEPTOR(int, pthread_sigmask, int ho
 // 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];
 




More information about the llvm-commits mailing list