From: Siva Chandra Reddy Date: Tue, 16 May 2023 21:03:57 +0000 (+0000) Subject: [libc][Obvious] Bump hermetic alloc space to 64KB. X-Git-Tag: upstream/17.0.6~8265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5d98be515cf7ca8740aa2c74cc92feaab86d30b;p=platform%2Fupstream%2Fllvm.git [libc][Obvious] Bump hermetic alloc space to 64KB. Few hermetic tests are failing as they are running out of memory. Differential Revision: https://reviews.llvm.org/D150724 --- diff --git a/libc/test/UnitTest/HermeticTestUtils.cpp b/libc/test/UnitTest/HermeticTestUtils.cpp index 04ec22f..7117341 100644 --- a/libc/test/UnitTest/HermeticTestUtils.cpp +++ b/libc/test/UnitTest/HermeticTestUtils.cpp @@ -29,7 +29,7 @@ namespace { // requires. Hence, as a work around for this problem, we use a simple allocator // which just hands out continuous blocks from a statically allocated chunk of // memory. -static constexpr uint64_t MEMORY_SIZE = 16384; +static constexpr uint64_t MEMORY_SIZE = 65336; static uint8_t memory[MEMORY_SIZE]; static uint8_t *ptr = memory;