[libc-commits] [libc] [libc] Lazily initialize freelist malloc using symbols (PR #99254)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 17 14:48:09 PDT 2024
================
@@ -19,16 +19,13 @@
namespace LIBC_NAMESPACE_DECL {
namespace {
-#ifdef LIBC_FREELIST_MALLOC_SIZE
-// This is set via the LIBC_CONF_FREELIST_MALLOC_BUFFER_SIZE configuration.
-constexpr size_t SIZE = LIBC_FREELIST_MALLOC_SIZE;
-#else
+#ifndef LIBC_FREELIST_MALLOC_SIZE
----------------
PiJoules wrote:
We can probably remove this here since it's unused here.
https://github.com/llvm/llvm-project/pull/99254
More information about the libc-commits
mailing list