[libc-commits] [libc] [libc][malloc] Ensure a minimum block alignment of 4 (PR #169447)
Daniel Thornburgh via libc-commits
libc-commits at lists.llvm.org
Tue Nov 25 13:13:33 PST 2025
mysterymath wrote:
Alright, I've updated this to directly ensure that the usable space within the block is 4 at minimum. This may waste a bit of space, but it's quite simpler, and it would only have any effect on platforms where `alignof(max_align_t)` is less than 4. This is exceedingly rare.
https://github.com/llvm/llvm-project/pull/169447
More information about the libc-commits
mailing list