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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Mar 25 10:37:28 PDT 2025


================
@@ -89,6 +89,7 @@ set(TARGET_LIBC_ENTRYPOINTS
 
     # stdlib.h external entrypoints
     libc.src.stdlib.malloc
+    libc.src.stdlib.memalignment
----------------
michaelrj-google wrote:

`memealignment` should be in with the normal `stdlib` functions and not with the `malloc` functions since it's implemented normally. The `malloc` functions are external because we allow using allocators implemented outside of libc.

Needs to be fixed here and in other `entrypoints` lists.

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


More information about the libc-commits mailing list