llvm::MCDecodedPseudoProbe::getInlineContext

Build the inlined context for this probe into ContextStack.

Synopsis

Declared in <llvm/MC/MCPseudoProbe.h>

void
getInlineContext(
    SmallVectorImpl<MCPseudoProbeFrameLocation>& ContextStack,
    GUIDProbeFunctionMap const& GUID2FuncMAP) const;

Description

Walks the inline tree backwards; each node's inline site becomes one frame. ContextStack is filled in root-to-leaf order.

Parameters

NameDescription
ContextStack- Output stack of frame locations.
GUID2FuncMAP- GUID-to-function-descriptor map for names.