build_dyn_type_di_node in rustc_codegen_llvm::debuginfo::metadata - Rust
Description: Create debuginfo for `dyn SomeTrait` types. Currently these are empty structs we with the correct type name (e.g. “dyn SomeTrait<Foo, Item=u32> + Sync”).

Skip to main content

## build_dyn_type_di_node

# Function build_dyn_type_di_node

Source

    fn build_dyn_type_di_node<'ll, 'tcx>(
        cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
        dyn_type: Ty<'tcx>,
        unique_type_id: UniqueTypeId<'tcx>,
    ) -> DINodeCreationResult<'ll>

Expand description

Create debuginfo for `dyn SomeTrait` types. Currently these are empty structs we with the correct type name (e.g. “dyn SomeTrait<Foo, Item=u32> + Sync”).