[−][src]Function rustc_codegen_llvm::debuginfo::metadata::composite_type_metadata
fn composite_type_metadata<'ll, 'tcx>(
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
) -> &'ll DICompositeType
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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.