[all-commits] [llvm/llvm-project] b76300: [libc][malloc] Ensure a minimum block alignment of...
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Mon Dec 1 14:41:42 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b76300acc5207b77ffce5677f31491ee58f06c06
https://github.com/llvm/llvm-project/commit/b76300acc5207b77ffce5677f31491ee58f06c06
Author: Daniel Thornburgh <mysterymath at gmail.com>
Date: 2025-12-01 (Mon, 01 Dec 2025)
Changed paths:
M libc/fuzzing/__support/freelist_heap_fuzz.cpp
M libc/src/__support/block.h
M libc/src/__support/freelist_heap.h
M libc/src/__support/freestore.h
M libc/test/src/__support/block_test.cpp
M libc/test/src/__support/freelist_heap_test.cpp
M libc/test/src/__support/freestore_test.cpp
Log Message:
-----------
[libc][malloc] Ensure a minimum block alignment of 4 (#169447)
Most platforms inherently have a size_t alignment of 4, but this isn't
true on every platform LLVM has some degree of backend support for.
Accordingly, it's simple enough to just set the min alignment of Block
to 4 and lose the static_assert.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list