ΒΆvoid replaceDbgValueForAlloca(
llvm::AllocaInst* AI,
llvm::Value* NewAllocaAddress,
llvm::DIBuilder& Builder,
int Offset = 0)
void replaceDbgValueForAlloca(
llvm::AllocaInst* AI,
llvm::Value* NewAllocaAddress,
llvm::DIBuilder& Builder,
int Offset = 0)
Description
Replaces multiple llvm.dbg.value instructions when the alloca it describes is replaced with a new value. If Offset is non-zero, a constant displacement is added to the expression (after the mandatory Deref). Offset can be negative. New llvm.dbg.value instructions are inserted at the locations of the instructions they replace.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:278
Parameters
- llvm::AllocaInst* AI
- llvm::Value* NewAllocaAddress
- llvm::DIBuilder& Builder
- int Offset = 0