[all-commits] [llvm/llvm-project] 85c78d: [libc][stdlib] Add Block class (#94407)
PiJoules via All-commits
all-commits at lists.llvm.org
Mon Jun 10 13:26:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85c78d45073bec31287fa72f1f558bad4de36189
https://github.com/llvm/llvm-project/commit/85c78d45073bec31287fa72f1f558bad4de36189
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/block.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/block_test.cpp
Log Message:
-----------
[libc][stdlib] Add Block class (#94407)
A block represents a chunk of memory used by the freelist allocator. It
contains header information denoting the usable space and pointers as
offsets to the next and previous block.
On it's own, this doesn't do much. This is a part of
https://github.com/llvm/llvm-project/pull/94270 to land in smaller
patches.
This is a subset of pigweed's freelist allocator implementation.
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