[all-commits] [llvm/llvm-project] 8ea8f1: [scudo] Support linking with index in IntrusiveLis...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Aug 12 12:56:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ea8f1f2fe501e0be5d0142d79651f490fb2ae2c
      https://github.com/llvm/llvm-project/commit/8ea8f1f2fe501e0be5d0142d79651f490fb2ae2c
  Author: ChiaHungDuan <chiahungduan at google.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/list.h
    M compiler-rt/lib/scudo/standalone/tests/list_test.cpp

  Log Message:
  -----------
  [scudo] Support linking with index in IntrusiveList (#101262)

The nodes of list may be managed in an array. Instead of managing them
with pointers, using the array index will save some memory in some
cases.

When using the list linked with index, remember to call init() to set up
the base address of the array and a `EndOfListVal` which is nil of the
list.



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