llvm_sys::debuginfo

Function LLVMDIBuilderInsertDeclareAtEnd

Source
pub unsafe extern "C" fn LLVMDIBuilderInsertDeclareAtEnd(
    Builder: LLVMDIBuilderRef,
    Storage: LLVMValueRef,
    VarInfo: LLVMMetadataRef,
    Expr: LLVMMetadataRef,
    DebugLoc: LLVMMetadataRef,
    Block: LLVMBasicBlockRef,
) -> LLVMValueRef
Expand description

Insert a new llvm.dbg.declare 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.