[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] [Allocator] Drop RedZoneSize (non-sanitizer) and BytesAllocated members (PR #205711)

Alexis Engelke via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 25 22:54:41 PDT 2026


https://github.com/aengelke approved this pull request.

LGTM, but please wait for a few days in case there are objections regarding the feature removal.

Having info on "bytes wasted" might be handy for development. In case someone wants it back, we could approximate it as follows by ignoring padding: AllocateSlow does BytesAllocated += (End - 1) - Cur; getBytesAllocated returns Cur ? BytesAllocated + End - 1 - Cur : 0.

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


More information about the lldb-commits mailing list