[llvm] [memprof] Compute CallStackId when deserializing IndexedAllocationInfo (PR #86421)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 13:27:47 PDT 2024
================
@@ -53,6 +53,7 @@ IndexedMemProfRecord::deserialize(const MemProfSchema &Schema,
endian::readNext<FrameId, llvm::endianness::little, unaligned>(Ptr);
Node.CallStack.push_back(Id);
}
+ Node.CSId = hashCallStack(Node.CallStack);
----------------
teresajohnson wrote:
Will this eventually be replaced by the CSId held in the indexed profile?
https://github.com/llvm/llvm-project/pull/86421
More information about the llvm-commits
mailing list