[llvm] [memprof] Add call stack IDs to IndexedAllocationInfo (PR #85888)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 11:00:50 PDT 2024
================
@@ -97,6 +97,8 @@ class MemProfReader {
}
// A mapping from FrameId (a hash of the contents) to the frame.
llvm::DenseMap<FrameId, Frame> IdToFrame;
+ // A vector of all unique call stacks, indexed by CallStackId.
+ llvm::SmallVector<llvm::SmallVector<FrameId>> CallStacks;
----------------
teresajohnson wrote:
This seems unused and should be deleted - I think this was from the earlier solution?
https://github.com/llvm/llvm-project/pull/85888
More information about the llvm-commits
mailing list