createDVRDeclareValue overloads

Synopses

Declared in <llvm/IR/DebugProgramInstruction.h>

Create a dbg.declare_value‐style variable record.

Create a dbg.declare_value‐style record and insert it before InsertBefore.

static
DbgVariableRecord*
createDVRDeclareValue(
    Value* Address,
    DILocalVariable* DV,
    DIExpression* Expr,
    DILocation const* DI,
    DbgVariableRecord& InsertBefore);

Return Value

  • A new dbg.declare_value‐style variable record.

  • A new dbg.declare_value‐style record inserted before InsertBefore.

Parameters

Name

Description

Address

Value of the local variable.

DV

Local variable being described.

Expr

Expression applied to Address.

DI

Source location for this record.

InsertBefore

Existing record to insert before.

Created with MrDocs