[libc-commits] [libc] [libc] Breakup freelist_malloc into separate files (PR #98784)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Wed Dec 11 09:50:55 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
----------------
petrhosek wrote:

Done.

https://github.com/llvm/llvm-project/pull/98784


More information about the libc-commits mailing list