[compiler-rt] a590387 - [test][android] Reduce buffer size in attempt to fix the test on Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 15:17:41 PST 2023


Author: Vitaly Buka
Date: 2023-12-14T15:17:27-08:00
New Revision: a590387a1295e8845506359cd95b7c3b3cc98996

URL: https://github.com/llvm/llvm-project/commit/a590387a1295e8845506359cd95b7c3b3cc98996
DIFF: https://github.com/llvm/llvm-project/commit/a590387a1295e8845506359cd95b7c3b3cc98996.diff

LOG: [test][android] Reduce buffer size in attempt to fix the test on Android

It crashes with stack overflow now.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

Removed: 
    


################################################################################
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;
 


        


More information about the llvm-commits mailing list