llvm::InsertDebugValueAtStoreLoc

Insert a dbg.value before a store with an associated dbg.value.

Synopsis

Declared in <llvm/Transforms/Utils/Local.h>

void
InsertDebugValueAtStoreLoc(
    DbgVariableRecord* DVR,
    StoreInst* SI,
    DIBuilder& Builder);

Description

Creates and inserts a dbg_value record intrinsic before a store that has an associated llvm.dbg.value intrinsic.

Parameters

NameDescription
DVRDebug variable record associated with the store.
SIStore at which to insert the dbg.value.
BuilderDIBuilder used to create the dbg.value.