[llvm] [memprof] Use CSId to construct MemProfRecord (PR #88362)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 12:05:09 PDT 2024
================
@@ -57,6 +57,36 @@ class MemProfReader {
return FunctionProfileData;
}
+ // Convert IndexedMemProfRecord to MemProfRecord, populating call stacks and
+ // frames inline.
+ virtual MemProfRecord convertIndexedMemProfRecordToMemProfRecord(
----------------
kazutakahirata wrote:
Done. Now the call back converts `CallStackId` to `llvm::SmallVector<Frame>`. That is, the conversion from `FrameId` to `Frame` is handled behind the scenes.
https://github.com/llvm/llvm-project/pull/88362
More information about the llvm-commits
mailing list