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


================
@@ -80,7 +80,9 @@ add_header_library(
   HDRS
     string.h
   DEPENDS
-    libc.include.stdlib
+    libc.hdr.free
+    libc.hdr.malloc
+    libc.hdr.realloc 
     .string_view
----------------
lntue wrote:

nit: move the `.string_view` above `libc.hdr`.

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


More information about the libc-commits mailing list