Function rustc_codegen_llvm::debuginfo::metadata::build_upvar_field_di_nodes
source · fn build_upvar_field_di_nodes<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
closure_or_generator_ty: Ty<'tcx>,
closure_or_generator_di_node: &'ll DIType
) -> SmallVec<[&'ll DIType; 16]>
Expand description
Builds the DW_TAG_member debuginfo nodes for the upvars of a closure or generator. For a generator, this will handle upvars shared by all states.