ΒΆLLVMValueRef LLVMDIBuilderInsertDbgValueBefore(
LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(
LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
Description
Insert a new llvm.dbg.value intrinsic call before the given instruction.
Declared at: llvm/include/llvm-c/DebugInfo.h:1249
Parameters
- LLVMDIBuilderRef Builder
- The DIBuilder.
- LLVMValueRef Val
- The value of the variable.
- LLVMMetadataRef VarInfo
- The variable's debug info descriptor.
- LLVMMetadataRef Expr
- A complex location expression for the variable.
- LLVMMetadataRef DebugLoc
- Debug info location.
- LLVMValueRef Instr
- Instruction acting as a location for the new intrinsic.