[libc-commits] [libc] [libc][malloc] Ensure a minimum block alignment of 4 (PR #169447)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Tue Nov 25 07:29:10 PST 2025
SchrodingerZhu wrote:
It seems that some modern allocators (e.g. mimalloc) does relax this for allocation sizes less than `alignof(max_align_t)`.
https://github.com/microsoft/mimalloc/blob/09a27098aa6e9286518bd9c74e6ffa7199c3f04e/src/alloc.c#L47
https://github.com/llvm/llvm-project/pull/169447
More information about the libc-commits
mailing list