-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributelibc
Description
Described in C23 (page 374): https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf#page=387
memalignment takes a void*and returns its alignment.
Here's a checklist for what you'll need to do for this:
- Add the implementation of
memalignmentin/src/stdlib - Add tests for
memalignmentin/test/src/stdlib - Add
memalignmenttoentrypoints.txtfor at least x86_64 and whatever you're building on - Add
memalignmenttoinclude/stdlib.yaml
Comment if you're interested in working on this, and feel free to reach out if you need help.
Metadata
Metadata
Assignees
Labels
good first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributelibc