[libc-commits] [libc] [libc] Fix malloc Block alignment issue on riscv32 (PR #117815)

via libc-commits libc-commits at lists.llvm.org
Mon Jan 13 15:54:21 PST 2025


https://github.com/PiJoules commented:

Kind of a large nit, but in a separate NFC patch, could you also introduce something like `typdef size_t prev_field_t` and replace all the hardcoded `sizeof(size_t)`s with `sizeof(prev_field_t)`? This way it's a little more informative on what the individual `sizeof(size_t)`s are which I assume pertain to the `prev_`field. 

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


More information about the libc-commits mailing list