summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2023-05-16 21:03:57 +0000
committerSiva Chandra Reddy <sivachandra@google.com>2023-05-16 21:23:16 +0000
commita5d98be515cf7ca8740aa2c74cc92feaab86d30b (patch)
treea79875b076e2fddc943b3656bf4927e65d8a7619 /libc
parent71978fcdc2e190998379c035a5e5489c949f4f97 (diff)
downloadllvm-a5d98be515cf7ca8740aa2c74cc92feaab86d30b.tar.gz
[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
Diffstat (limited to 'libc')
-rw-r--r--libc/test/UnitTest/HermeticTestUtils.cpp2
1 files changed, 1 insertions, 1 deletions
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;