[libc-commits] [libc] [libc] Lazily initialize freelist malloc using symbols (PR #99254)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Tue Jul 16 23:46:34 PDT 2024


================
@@ -0,0 +1,2 @@
+.weak __libc_heap_limit
+.set __libc_heap_limit, LIBC_FREELIST_MALLOC_SIZE
----------------
petrhosek wrote:

Can you define this in `freelist_malloc.cpp`? We want to avoid any unnecessary assembly in libc.

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


More information about the libc-commits mailing list