llvm_sys::debuginfo

Function LLVMDIBuilderInsertDbgValueAtEnd

source
pub unsafe extern "C" fn LLVMDIBuilderInsertDbgValueAtEnd(
    Builder: LLVMDIBuilderRef,
    Val: LLVMValueRef,
    VarInfo: LLVMMetadataRef,
    Expr: LLVMMetadataRef,
    DebugLoc: LLVMMetadataRef,
    Block: LLVMBasicBlockRef,
) -> LLVMValueRef
Expand 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.