llvm::MCCVFunctionInfo

Information describing a function or inlined call site.

Synopsis

Declared in <llvm/MC/MCCodeView.h>

struct MCCVFunctionInfo;

Description

Introduced by .cv_func_id or .cv_inline_site_id. Accumulates information from .cv_loc directives used with this function's id or the id of an inlined call site within this function or inlined call site.

Types

NameDescription
LineInfo Source location used as an "inlined at" site.

Enums

NameDescription
Unnamed enum Sentinel values used when encoding parent function ids.

Member Functions

NameDescription
getParentFuncId Return the parent function id of this inlined call site.
isInlinedCallSite Returns true if this represents an inlined call site, meaning ParentFuncIdPlusOne is neither zero nor ~0U.
isUnallocatedFunctionInfo Returns true if this is function info has not yet been used in a .cv_func_id or .cv_inline_site_id directive.

Data Members

NameDescription
InlinedAt "Inlined at" location when this is an inlined call site.
InlinedAtMap Map from inlined call site id to its collapsed "inlined at" location.
ParentFuncIdPlusOne Parent function id encoding for inlined call sites.
Section The section of the first .cv_loc directive used for this function, or null if none has been seen yet.