[libc-commits] [libc] [libc] Lazily initialize freelist malloc using symbols (PR #99254)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Fri Jul 19 16:00:45 PDT 2024
================
@@ -22,6 +22,9 @@
namespace LIBC_NAMESPACE_DECL {
+extern "C" cpp::byte _end;
+extern "C" cpp::byte __libc_heap_limit;
----------------
petrhosek wrote:
Is `__libc_heap_limit` already used by other C libraries (in other words is this an existing API)? If not, I'd prefer calling it `__llvm_libc_heap_limit` which matches the naming scheme we use for other symbols that are part of the external ABI.
https://github.com/llvm/llvm-project/pull/99254
More information about the libc-commits
mailing list