struct MCCVFunctionInfo
Declaration
struct MCCVFunctionInfo { /* full declaration omitted */ };
Description
Information describing a function or inlined call site 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.
Declared at: llvm/include/llvm/MC/MCCodeView.h:91
Member Variables
- public unsigned int ParentFuncIdPlusOne = 0
- If this represents an inlined call site, then ParentFuncIdPlusOne will be the parent function id plus one. If this represents a normal function, then there is no parent, and ParentFuncIdPlusOne will be FunctionSentinel. If this struct is an unallocated slot in the function info vector, then ParentFuncIdPlusOne will be zero.
- public llvm::MCCVFunctionInfo::LineInfo InlinedAt
- public llvm::MCSection* Section = nullptr
- The section of the first .cv_loc directive used for this function, or null if none has been seen yet.
- public DenseMap<unsigned int, llvm::MCCVFunctionInfo::LineInfo> InlinedAtMap
- Map from inlined call site id to the inlined at location to use for that call site. Call chains are collapsed, so for the call chain 'f -> g -> h', the InlinedAtMap of 'f' will contain entries for 'g' and 'h' that both list the line info for the 'g' call site.
Method Overview
- public unsigned int getParentFuncId() const
- public bool isInlinedCallSite() const
- public bool isUnallocatedFunctionInfo() const
Methods
¶unsigned int getParentFuncId() const
unsigned int getParentFuncId() const
Declared at: llvm/include/llvm/MC/MCCodeView.h:130
¶bool isInlinedCallSite() const
bool isInlinedCallSite() const
Description
Returns true if this represents an inlined call site, meaning ParentFuncIdPlusOne is neither zero nor ~0U.
Declared at: llvm/include/llvm/MC/MCCodeView.h:125
¶bool isUnallocatedFunctionInfo() const
bool isUnallocatedFunctionInfo() const
Description
Returns true if this is function info has not yet been used in a .cv_func_id or .cv_inline_site_id directive.
Declared at: llvm/include/llvm/MC/MCCodeView.h:121