llvm_sys::core

Function LLVMSetInstDebugLocation

Source
pub unsafe extern "C" fn LLVMSetInstDebugLocation(
    Builder: LLVMBuilderRef,
    Inst: LLVMValueRef,
)
👎Deprecated since 14.0: Deprecated in favor of the more general LLVMAddMetadataToInst.
Expand description

Attempts to set the debug location for the given instruction using the current debug location for the given builder. If the builder has no current debug location, this function is a no-op.