[libc-commits] [libc] [libc] implement `memalignment` (PR #132493)
via libc-commits
libc-commits at lists.llvm.org
Sat Mar 22 10:19:24 PDT 2025
================
@@ -385,6 +385,11 @@ if(NOT LIBC_TARGET_OS_IS_BAREMETAL AND NOT LIBC_TARGET_OS_IS_GPU)
DEPENDS
${SCUDO_DEPS}
)
+ add_entrypoint_external(
+ memalignment
+ DEPENDS
+ ${SCUDO_DEPS}
+ )
----------------
lntue wrote:
`memalignment` implementation does not require anything special. Just add a simple target similar to `srand`, and outside of all the special `if () ... endif()` special treatment for `malloc`
https://github.com/llvm/llvm-project/pull/132493
More information about the libc-commits
mailing list