Skip to content

Commit 3554a47

Browse files
Add comments.
1 parent ed99d51 commit 3554a47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/ProfileData/MemProf.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,8 +963,11 @@ using CallEdgeTy = std::pair<LineLocation, uint64_t>;
963963
//
964964
// auto Pairs = std::move(Extractor.CallerCalleePairs);
965965
struct CallerCalleePairExtractor {
966+
// The base address of the radix tree array.
966967
const unsigned char *CallStackBase;
968+
// A functor to convert a linear FrameId to a Frame.
967969
std::function<Frame(LinearFrameId)> FrameIdToFrame;
970+
// A map from caller GUIDs to lists of call sites in respective callers.
968971
DenseMap<uint64_t, SmallVector<CallEdgeTy, 0>> CallerCalleePairs;
969972

970973
CallerCalleePairExtractor() = delete;

0 commit comments

Comments
 (0)