llvm::DebugVariable::DebugVariable

Constructors

Synopses

Declared in <llvm/IR/DebugInfoMetadata.h>

Construct a DebugVariable.

DebugVariable(DbgVariableRecord const* DVR);
» more...

Construct a DebugVariable from an explicit fragment.

DebugVariable(
    DILocalVariable const* Var,
    std::optional<FragmentInfo> FragmentInfo,
    DILocation const* InlinedAt);
» more...

Construct a DebugVariable, taking any fragment from DIExpr.

DebugVariable(
    DILocalVariable const* Var,
    DIExpression const* DIExpr,
    DILocation const* InlinedAt);
» more...

Parameters

NameDescription
DVRDbgVariableRecord describing the variable instance.
VarLocal variable metadata.
FragmentInfoOptional fragment describing a bit-range within the variable.
InlinedAtInlined-at location, or nullptr if not inlined.
DIExprExpression that may carry fragment information.