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

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
Expand description

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().