From a590387a1295e8845506359cd95b7c3b3cc98996 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 14 Dec 2023 15:16:27 -0800 Subject: [PATCH] [test][android] Reduce buffer size in attempt to fix the test on Android It crashes with stack overflow now. --- .../test/sanitizer_common/TestCases/Posix/fork_threaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c index dac9909638ae1..7e3360061276b 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c @@ -24,7 +24,7 @@ #include "sanitizer_common/sanitizer_specific.h" -static const size_t kBufferSize = 1 << 20; +static const size_t kBufferSize = 8192; pthread_barrier_t bar;