[libc-commits] [libc] [libc] Breakup freelist_malloc into separate files (PR #98784)
via libc-commits
libc-commits at lists.llvm.org
Tue Dec 10 20:29:18 PST 2024
================
@@ -48,20 +48,27 @@ add_header_library(
.freetrie
)
-add_header_library(
+add_object_library(
freelist_heap
+ SRCS
+ freelist_heap.cpp
HDRS
freelist_heap.h
DEPENDS
.block
+ .freelist
.freestore
+ .freetrie
libc.src.__support.CPP.cstddef
libc.src.__support.CPP.array
libc.src.__support.CPP.optional
libc.src.__support.CPP.span
libc.src.__support.libc_assert
libc.src.string.memory_utils.inline_memcpy
libc.src.string.memory_utils.inline_memset
+ COMPILE_OPTIONS
----------------
lntue wrote:
nit: can you move the `COMPILE_OPTIONS` part to above `DEPENDS`?
https://github.com/llvm/llvm-project/pull/98784
More information about the libc-commits
mailing list