[Lldb-commits] [PATCH] D117914: [lldb] Add ConstString memory usage statistics

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 21 13:36:00 PST 2022


kastiglione added a comment.

I find "Unallocated" ambiguous. To the Allocator, maybe it's not, but to VM it is. What about Total/UsedUnused? Note that the docs for `BytesAllocated` say it can be used to calculated "wasted" space.

  /// How many bytes we've allocated.
  ///
  /// Used so that we can compute how much space was wasted.
  size_t BytesAllocated = 0;


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117914/new/

https://reviews.llvm.org/D117914



More information about the lldb-commits mailing list