fn composite_type_metadata(
    cx: &CodegenCx<'ll, 'tcx>,
    composite_type: Ty<'tcx>,
    composite_type_name: &str,
    composite_type_unique_id: UniqueTypeId,
    member_descriptions: Vec<MemberDescription<'ll>>,
    containing_scope: Option<&'ll DIScope>,

    // Ignore source location information as long as it
    // can't be reconstructed for non-local crates.
    _file_metadata: &'ll DIFile,
    _definition_span: Span,
) -> &'ll DICompositeType {
    // Create the (empty) struct metadata node ...
    let composite_type_metadata = create_struct_stub(cx,
                                                     composite_type,
                                                     composite_type_name,
                                                     composite_type_unique_id,
                                                     containing_scope);
    // ... and immediately create and add the member descriptions.
    set_members_of_composite_type(cx,
                                  composite_type_metadata,
                                  member_descriptions);

    return composite_type_metadata;
}
/// Creates debug information for a composite type, that is, anything that
/// results in a LLVM struct.
///
/// Examples of Rust types to use this are: structs, tuples, boxes, vecs, and enums.
Creates debug information for a composite type, that is, anything that
results in a LLVM struct.

Examples of Rust types to use this are: structs, tuples, boxes, vecs, and enums.
Creates debug information for a composite type that is anything that results in a LLVM struct . Examples of Rust types to use this are : structs tuples boxes vecs and enums .
fn composite_type_metadata(
    cx: &CodegenCx<'ll, 'tcx>,
    composite_type: Ty<'tcx>,
    composite_type_name: &str,
    composite_type_unique_id: UniqueTypeId,
    member_descriptions: Vec<MemberDescription<'ll>>,
    containing_scope: Option<&'ll DIScope>,
    // Ignore source location information as long as it
    // can't be reconstructed for non-local crates.
    _file_metadata: &'ll DIFile,
    _definition_span: Span,
) -> &'ll DICompositeType {
    // Create the (empty) struct metadata node ...
    let composite_type_metadata = create_struct_stub(cx,
                                                     composite_type,
                                                     composite_type_name,
                                                     composite_type_unique_id,
                                                     containing_scope);
    // ... and immediately create and add the member descriptions.
    set_members_of_composite_type(cx,
                                  composite_type_metadata,
                                  member_descriptions);
    return composite_type_metadata;
}
fn composite_type_metadata ( cx : & CodegenCx < ' ll , ' tcx > , composite_type : Ty < ' tcx > , composite_type_name : & str , composite_type_unique_id : UniqueTypeId , member_descriptions : Vec < MemberDescription < ' ll > > , containing_scope : Option < & ' ll DIScope > , // Ignore source location information as long as it // can't be reconstructed for non-local crates. _file_metadata : & ' ll DIFile , _definition_span : Span , ) -> & ' ll DICompositeType { // Create the (empty) struct metadata node ... let composite_type_metadata = create_struct_stub ( cx , composite_type , composite_type_name , composite_type_unique_id , containing_scope ) ; // ... and immediately create and add the member descriptions. set_members_of_composite_type ( cx , composite_type_metadata , member_descriptions ) ; return composite_type_metadata ; }
Creates debug information for a composite type, that is, anything that
results in a LLVM struct.
Creates debug information for a composite type that is anything that results in a LLVM struct .
cx
&CodegenCx<'ll, 'tcx>
composite_type
Ty<'tcx>
composite_type_name
&str
composite_type_unique_id
UniqueTypeId
member_descriptions
Vec<MemberDescription<'ll>>
containing_scope
Option<&'ll DIScope>
_file_metadata
&'ll DIFile
_definition_span
Span
cx
&CodegenCx<'ll, 'tcx>
composite_type
Ty<'tcx>
composite_type_name
&str
composite_type_unique_id
UniqueTypeId
member_descriptions
Vec<MemberDescription<'ll>>
containing_scope
Option<&'ll DIScope>
_file_metadata
&'ll DIFile
_definition_span
Span