[libc-commits] [libc] [libc] Control freelist malloc buffer size with a config (PR #96248)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Jun 20 16:38:01 PDT 2024
================
@@ -17,15 +17,8 @@
namespace LIBC_NAMESPACE {
namespace {
-// Users can define LIBC_FREELIST_MALLOC_SIZE for setting the default buffer
-// size used by freelist malloc.
-#ifdef LIBC_FREELIST_MALLOC_SIZE
----------------
michaelrj-google wrote:
this should still have a macro check since the macro won't be defined if this is compiled outside of our build system. You can make the `#else` branch an `#error` instead of a default value if it should always be defined.
https://github.com/llvm/llvm-project/pull/96248
More information about the libc-commits
mailing list