rustc_codegen_llvm::debuginfo::metadata::enums

Function build_c_style_enum_di_node

source
fn build_c_style_enum_di_node<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    enum_adt_def: AdtDef<'tcx>,
    enum_type_and_layout: TyAndLayout<'tcx>,
) -> DINodeCreationResult<'ll>
Expand description

Build the debuginfo node for a C-style enum, i.e. an enum the variants of which have no fields.

The resulting debuginfo will be a DW_TAG_enumeration_type.