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.