[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:40 PDT 2024


================
@@ -20,6 +20,9 @@
 #include "src/string/memory_utils/inline_memcpy.h"
 #include "src/string/memory_utils/inline_memset.h"
 
+extern char _end;
+extern char __libc_heap_limit;
----------------
petrhosek wrote:

```suggestion
extern "C" char _end;
extern "C" char __libc_heap_limit;
```

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


More information about the libc-commits mailing list