ΒΆbool replaceDbgDeclare(llvm::Value* Address,
                       llvm::Value* NewAddress,
                       llvm::DIBuilder& Builder,
                       uint8_t DIExprFlags,
                       int Offset)

Description

Replaces llvm.dbg.declare instruction when the address it describes is replaced with a new value. If Deref is true, an additional DW_OP_deref is prepended to the expression. If Offset is non-zero, a constant displacement is added to the expression (between the optional Deref operations). Offset can be negative.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:270

Parameters

llvm::Value* Address
llvm::Value* NewAddress
llvm::DIBuilder& Builder
uint8_t DIExprFlags
int Offset