[libc-commits] [libc] a5d98be - [libc][Obvious] Bump hermetic alloc space to 64KB.
Siva Chandra Reddy via libc-commits
libc-commits at lists.llvm.org
Tue May 16 14:23:45 PDT 2023
Author: Siva Chandra Reddy
Date: 2023-05-16T21:23:16Z
New Revision: a5d98be515cf7ca8740aa2c74cc92feaab86d30b
URL: https://github.com/llvm/llvm-project/commit/a5d98be515cf7ca8740aa2c74cc92feaab86d30b
DIFF: https://github.com/llvm/llvm-project/commit/a5d98be515cf7ca8740aa2c74cc92feaab86d30b.diff
LOG: [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
Added:
Modified:
libc/test/UnitTest/HermeticTestUtils.cpp
Removed:
################################################################################
diff --git a/libc/test/UnitTest/HermeticTestUtils.cpp b/libc/test/UnitTest/HermeticTestUtils.cpp
index 04ec22f165b8..7117341fee9a 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;
More information about the libc-commits
mailing list