[libc-commits] [libc] [libc] implement `memalignment` (PR #132493)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Mar 22 18:54:56 PDT 2025


================
@@ -345,6 +345,12 @@ add_entrypoint_object(
     .rand_util
 )
 
+add_entrypoint_external(
+  memalignment
+  DEPENDS
+    ${SCUDO_DEPS}
+)
+
----------------
jhuber6 wrote:

This isn't quite right. Copy a line from a similar stdlib function like srand or something similar above. The external entry point is just for malloc until we have a working in-tree version.

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


More information about the libc-commits mailing list