[libc][Obvious] Bump hermetic alloc space to 64KB.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 16 May 2023 21:03:57 +0000 (21:03 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 16 May 2023 21:23:16 +0000 (21:23 +0000)
Few hermetic tests are failing as they are running out of memory.

Differential Revision: https://reviews.llvm.org/D150724

libc/test/UnitTest/HermeticTestUtils.cpp

index 04ec22f..7117341 100644 (file)
@@ -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;