[libc-commits] [libc] [libc] Add proxy headers to handle memory allocation associated with the header `#include <stdlib.h> (PR #114690)

via libc-commits libc-commits at lists.llvm.org
Sat Nov 2 18:48:21 PDT 2024


================
@@ -170,6 +190,26 @@ add_proxy_header_library(
     libc.include.link
 )
 
+add_proxy_header_library(
+  malloc
+  HDRS
+    malloc.h
+  DEPENDS
+    .stdlib_overlay.h
+  FULL_BUILD_DEPENDS
+    libc.include.stdlib
+)
+
+add_proxy_header_library(
+  realloc
+  HDRS
+    realloc.h
+  DEPENDS
+    .stdlib_overlay.h
----------------
lntue wrote:

`.stdlib_overlay`

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


More information about the libc-commits mailing list