[−][src]Function rustc_codegen_llvm::debuginfo::metadata::create_struct_stub

pub(in debuginfo::metadata) fn create_struct_stub<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    struct_type: Ty<'tcx>,
    struct_type_name: &str,
    unique_type_id: UniqueTypeId,
    containing_scope: Option<&'ll DIScope>,
    flags: DIFlags
) -> &'ll DICompositeType

A convenience wrapper around LLVMRustDIBuilderCreateStructType(). Does not do any caching, does not add any fields to the struct. This can be done later with set_members_of_composite_type().