[][src]Function rustc_codegen_llvm::debuginfo::create_function_debug_context

pub fn create_function_debug_context<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    instance: Instance<'tcx>,
    sig: FnSig<'tcx>,
    llfn: &'ll Value,
    mir: &Mir
) -> FunctionDebugContext<'ll>
🔬 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?

Creates the function-specific debug context.

Returns the FunctionDebugContext for the function which holds state needed for debug info creation. The function may also return another variant of the FunctionDebugContext enum which indicates why no debuginfo should be created for the function.