# Function rustc_codegen_llvm::debuginfo::metadata::enums::cpp_like::build_variant_struct_wrapper_type_di_node

source ·

    fn build_variant_struct_wrapper_type_di_node<'ll, 'tcx>(
        cx: &CodegenCx<'ll, 'tcx>,
        enum_or_coroutine_type_and_layout: TyAndLayout<'tcx>,
        enum_or_coroutine_type_di_node: &'ll DIType,
        variant_index: VariantIdx,
        untagged_variant_index: Option<VariantIdx>,
        variant_struct_type_di_node: &'ll DIType,
        variant_names_type_di_node: &'ll DIType,
        tag_base_type_di_node: &'ll DIType,
        tag_base_type: Ty<'tcx>,
        discr: DiscrResult,
    ) -> &'ll DIType