[all-commits] [llvm/llvm-project] 173781: [libc][stdlib] Add freelist class (#95041)

PiJoules via All-commits all-commits at lists.llvm.org
Mon Jun 10 17:23:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1737814e577f80917fc9a56d58f09a22665179d1
      https://github.com/llvm/llvm-project/commit/1737814e577f80917fc9a56d58f09a22665179d1
  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/freelist.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/freelist_test.cpp

  Log Message:
  -----------
  [libc][stdlib] Add freelist class (#95041)

This implements a traditional freelist to be used by the freelist
allocator. It operates on spans of bytes which can be anything. The
freelist allocator will store Blocks inside them.

This is a part of #94270 to land in smaller patches.



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