ΒΆLLVMValueRef LLVMDIBuilderInsertDeclareBefore(
LLVMDIBuilderRef Builder,
LLVMValueRef Storage,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
LLVMValueRef LLVMDIBuilderInsertDeclareBefore(
LLVMDIBuilderRef Builder,
LLVMValueRef Storage,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMValueRef Instr)
Description
Insert a new llvm.dbg.declare intrinsic call before the given instruction.
Declared at: llvm/include/llvm-c/DebugInfo.h:1221
Parameters
- LLVMDIBuilderRef Builder
- The DIBuilder.
- LLVMValueRef Storage
- The storage of the variable to declare.
- 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.