Enum rustc_codegen_llvm::debuginfo::metadata::RecursiveTypeDescription [−][src]
enum RecursiveTypeDescription<'ll, 'tcx> {
UnfinishedMetadata {
unfinished_type: Ty<'tcx>,
unique_type_id: UniqueTypeId,
metadata_stub: &'ll DICompositeType,
member_holding_stub: &'ll DICompositeType,
member_description_factory: MemberDescriptionFactory<'ll, 'tcx>,
},
FinalMetadata(&'ll DICompositeType),
}Expand description
A description of some recursive type. It can either be already finished (as
with FinalMetadata) or it is not yet finished, but contains all information
needed to generate the missing parts of the description. See the
documentation section on Recursive Types at the top of this file for more
information.
Variants
Show fields
Fields of UnfinishedMetadata
unfinished_type: Ty<'tcx>unique_type_id: UniqueTypeIdmetadata_stub: &'ll DICompositeTypemember_holding_stub: &'ll DICompositeTypemember_description_factory: MemberDescriptionFactory<'ll, 'tcx>FinalMetadata(&'ll DICompositeType)Implementations
impl<'ll, 'tcx> RecursiveTypeDescription<'ll, 'tcx>[src]
impl<'ll, 'tcx> RecursiveTypeDescription<'ll, 'tcx>[src]fn finalize(&self, cx: &CodegenCx<'ll, 'tcx>) -> MetadataCreationResult<'ll>[src]
fn finalize(&self, cx: &CodegenCx<'ll, 'tcx>) -> MetadataCreationResult<'ll>[src]Finishes up the description of the type in question (mostly by providing descriptions of the fields of the given type) and returns the final type metadata.