[libc-commits] [libc] [libc][mmap] implement mmap in terms of mmap2 for 32b targets (PR #96700)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Sun Oct 6 12:23:26 PDT 2024


SchrodingerZhu wrote:

`getauxval` was introduced before we have a separate build scheme for `LIBC_FULL_BUILD`. The buffer is dynamically allocated using `mmap` to avoid extra static space for full build. Since `LIBC_FULL_BUILD` macro is introduced, I should rework `getauxval`:
- remove dynamic allocation
- make sure the async-signal-safety of `getauxval` 

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


More information about the libc-commits mailing list