[libc-commits] [PATCH] D150724: [libc][Obvious] Bump hermetic alloc space to 64KB.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue May 16 14:05:00 PDT 2023
sivachandra created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
Few hermetic tests are failing as they are running out of memory.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150724
Files:
libc/test/UnitTest/HermeticTestUtils.cpp
Index: libc/test/UnitTest/HermeticTestUtils.cpp
===================================================================
--- libc/test/UnitTest/HermeticTestUtils.cpp
+++ libc/test/UnitTest/HermeticTestUtils.cpp
@@ -29,7 +29,7 @@
// 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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150724.522781.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230516/6f286366/attachment.bin>
More information about the libc-commits
mailing list