rustc_codegen_llvm::debuginfo::metadata

Function create_vtable_di_node

source
pub(crate) fn create_vtable_di_node<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    ty: Ty<'tcx>,
    poly_trait_ref: Option<PolyExistentialTraitRef<'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.