[llvm] [MemProf] Track and report profiled sizes through cloning (PR #98382)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 15:19:36 PDT 2024
================
@@ -423,6 +427,16 @@ inline raw_ostream &operator<<(raw_ostream &OS, const AllocInfo &AE) {
for (auto &M : AE.MIBs) {
OS << "\t\t" << M << "\n";
}
+ if (!AE.TotalSizes.empty()) {
+ OS << " TotalSizes per MIB:\n\t\t";
+ First = true;
+ for (auto &TS : AE.TotalSizes) {
----------------
teresajohnson wrote:
done
https://github.com/llvm/llvm-project/pull/98382
More information about the llvm-commits
mailing list