Modules

cpp_like 🔒
native 🔒

Functions

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

Build the debuginfo node for the struct type describing a single variant of an enum.

Build a DW_TAG_enumeration_type debuginfo node, with the given base type and variants. This is a helper function and does not register anything in the type map by itself.

Build the struct type for describing a single generator state. See build_generator_variant_struct_type_di_node.

Returns the discriminant value corresponding to the variant index.

Extract the type with which we want to describe the tag of the given enum or generator.