[libc-commits] [libc] [libc] Align hermetic test allocations to max_align_t (PR #239984)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Sun Nov 8 18:27:59 PST 2026


vonosmas wrote:

Is it a reasonable assumption by the compiler? I think that if we over-align the returned memory blocks in hermetic tests we may rely on the behavior different from how the regular allocators behave in actual programs.

Will the alignment issue you talk about in the test be fixed by https://github.com/llvm/llvm-project/pull/240107 instead?

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


More information about the libc-commits mailing list