ΒΆLLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(
LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMBasicBlockRef Block)
LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd(
LLVMDIBuilderRef Builder,
LLVMValueRef Val,
LLVMMetadataRef VarInfo,
LLVMMetadataRef Expr,
LLVMMetadataRef DebugLoc,
LLVMBasicBlockRef Block)
Description
Insert a new llvm.dbg.value intrinsic call at the end of the given basic block. If the basic block has a terminator instruction, the intrinsic is inserted before that terminator instruction.
Declared at: llvm/include/llvm-c/DebugInfo.h:1267
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.
- LLVMBasicBlockRef Block
- Basic block acting as a location for the new intrinsic.