rustc_codegen_llvm::debuginfo::create_scope_map

Function compute_mir_scopes

source
pub(crate) fn compute_mir_scopes<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    instance: Instance<'tcx>,
    mir: &Body<'tcx>,
    debug_context: &mut FunctionDebugContext<'tcx, &'ll DIScope, &'ll DILocation>,
)
Expand description

Produces DIScope DIEs for each MIR Scope which has variables defined in it.