create_vtable_di_node in rustc_codegen_llvm::debuginfo::metadata - Rust
Description: Creates debug information for the given vtable, which is for the given type.

Skip to main content

## create_vtable_di_node

# Function create_vtable_di_node

Source

    pub(crate) fn create_vtable_di_node<'ll, 'tcx>(
        cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
        ty: Ty<'tcx>,
        poly_trait_ref: Option<ExistentialTraitRef<'tcx>>,
        vtable: &'ll Value,
    )

Expand description

Creates debug information for the given vtable, which is for the given type.

Adds the created metadata nodes directly to the crate’s IR.