[llvm] [memprof] Add call stack IDs to IndexedAllocationInfo (PR #85888)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 23 09:51:28 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;
----------------
kazutakahirata wrote:
Thanks for catching this. Deleted in the latest iteration.
https://github.com/llvm/llvm-project/pull/85888
More information about the llvm-commits
mailing list