[−][src]Function rustc_codegen_llvm::debuginfo::metadata::describe_enum_variant
pub(in debuginfo::metadata) fn describe_enum_variant<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
layout: TyAndLayout<'tcx>,
variant: VariantInfo<'_, 'tcx>,
discriminant_info: EnumTagInfo<'ll>,
containing_scope: &'ll DIScope,
span: Span
) -> (&'ll DICompositeType, MemberDescriptionFactory<'ll, 'tcx>)
Returns a tuple of (1) type_metadata_stub of the variant, (2) a
MemberDescriptionFactory for producing the descriptions of the
fields of the variant. This is a rudimentary version of a full
RecursiveTypeDescription.