[−][src]Function rustc_codegen_llvm::debuginfo::source_loc::set_source_location
pub fn set_source_location<'ll>(
debug_context: &FunctionDebugContext<'ll>,
bx: &Builder<'_, 'll, '_>,
scope: Option<&'ll DIScope>,
span: Span
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Sets the current debug location at the beginning of the span.
Maps to a call to llvm::LLVMSetCurrentDebugLocation(...).