[][src]Function rustc_codegen_llvm::debuginfo::create_scope_map::create_mir_scopes

pub fn create_mir_scopes<'ll>(
    cx: &CodegenCx<'ll, '_>,
    mir: &Mir,
    debug_context: &FunctionDebugContext<'ll>
) -> IndexVec<SourceScope, MirDebugScope<'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?

Produce DIScope DIEs for each MIR Scope which has variables defined in it. If debuginfo is disabled, the returned vector is empty.