跳转到内容
标准库Zig 0.17.1官方原文
源码std/dwarf/TAG.zig

第 1 行

std.dwarf.TAG.access_declaration

常量

第 31 行

std.dwarf.TAG.array_type

常量

第 2 行

std.dwarf.TAG.atomic_type

常量

第 72 行

std.dwarf.TAG.base_type

常量

第 32 行

std.dwarf.TAG.call_site

常量

第 73 行

std.dwarf.TAG.call_site_parameter

常量

第 74 行

std.dwarf.TAG.catch_block

常量

第 33 行

std.dwarf.TAG.class_template

常量

第 92 行

std.dwarf.TAG.class_type

常量

第 3 行

std.dwarf.TAG.coarray_type

常量

第 69 行

std.dwarf.TAG.common_block

常量

第 22 行

std.dwarf.TAG.common_inclusion

常量

第 23 行

std.dwarf.TAG.compile_unit

常量

第 13 行

std.dwarf.TAG.condition

常量

第 60 行

std.dwarf.TAG.const_type

常量

第 34 行

std.dwarf.TAG.constant

常量

第 35 行

std.dwarf.TAG.dwarf_procedure

常量

第 52 行

std.dwarf.TAG.dynamic_type

常量

第 71 行

std.dwarf.TAG.entry_point

常量

第 4 行

std.dwarf.TAG.enumeration_type

常量

第 5 行

std.dwarf.TAG.enumerator

常量

第 36 行

std.dwarf.TAG.file_type

常量

第 37 行

std.dwarf.TAG.formal_parameter

常量

第 6 行

std.dwarf.TAG.format_label

常量

第 90 行

std.dwarf.TAG.friend

常量

第 38 行

std.dwarf.TAG.function_template

常量

第 91 行

std.dwarf.TAG.generic_subrange

常量

第 70 行

std.dwarf.TAG.GNU_BINCL

常量

第 93 行

std.dwarf.TAG.GNU_call_site

常量

第 110 行

std.dwarf.TAG.GNU_call_site_parameter

常量

第 111 行

std.dwarf.TAG.GNU_EINCL

常量

第 94 行

std.dwarf.TAG.GNU_formal_parameter_pack

常量

第 105 行

std.dwarf.TAG.GNU_template_parameter_pack

常量

第 104 行

std.dwarf.TAG.GNU_template_template_param

常量

第 98 行

std.dwarf.TAG.hi_user

常量

第 79 行

std.dwarf.TAG.HP_array_descriptor

常量

第 85 行

std.dwarf.TAG.HP_Bliss_field

常量

第 86 行

std.dwarf.TAG.HP_Bliss_field_set

常量

第 87 行

std.dwarf.TAG.immutable_type

常量

第 76 行

std.dwarf.TAG.imported_declaration

常量

第 7 行

std.dwarf.TAG.imported_module

常量

第 56 行

std.dwarf.TAG.imported_unit

常量

第 59 行

std.dwarf.TAG.inheritance

常量

第 24 行

std.dwarf.TAG.inlined_subroutine

常量

第 25 行

std.dwarf.TAG.interface_type

常量

第 54 行

std.dwarf.TAG.label

常量

第 8 行

std.dwarf.TAG.lexical_block

常量

第 9 行

std.dwarf.TAG.lo_user

常量

第 78 行

std.dwarf.TAG.member

常量

第 10 行

std.dwarf.TAG.MIPS_loop

常量

第 82 行

std.dwarf.TAG.module

常量

第 26 行

std.dwarf.TAG.namelist

常量

第 39 行

std.dwarf.TAG.namelist_item

常量

第 40 行

std.dwarf.TAG.namespace

常量

第 55 行

std.dwarf.TAG.packed_type

常量

第 41 行

std.dwarf.TAG.padding

常量

第 1 行

std.dwarf.TAG.partial_unit

常量

第 58 行

std.dwarf.TAG.PGI_interface_block

常量

第 118 行

std.dwarf.TAG.PGI_kanji_type

常量

第 117 行

std.dwarf.TAG.pointer_type

常量

第 11 行

std.dwarf.TAG.ptr_to_member_type

常量

第 27 行

std.dwarf.TAG.reference_type

常量

第 12 行

std.dwarf.TAG.restrict_type

常量

第 53 行

std.dwarf.TAG.rvalue_reference_type

常量

第 65 行

std.dwarf.TAG.set_type

常量

第 28 行

std.dwarf.TAG.shared_type

常量

第 61 行

std.dwarf.TAG.skeleton_unit

常量

第 75 行

std.dwarf.TAG.string_type

常量

第 14 行

std.dwarf.TAG.structure_type

常量

第 15 行

std.dwarf.TAG.subprogram

常量

第 42 行

std.dwarf.TAG.subrange_type

常量

第 29 行

std.dwarf.TAG.subroutine

常量

第 16 行

std.dwarf.TAG.subroutine_type

常量

第 17 行

std.dwarf.TAG.template_alias

常量

第 66 行

std.dwarf.TAG.template_type_parameter

常量

第 43 行

std.dwarf.TAG.template_value_parameter

常量

第 44 行

std.dwarf.TAG.thrown_type

常量

第 45 行

std.dwarf.TAG.try_block

常量

第 46 行

std.dwarf.TAG.type_unit

常量

第 64 行

std.dwarf.TAG.typedef

常量

第 18 行

std.dwarf.TAG.union_type

常量

第 19 行

std.dwarf.TAG.unspecified_parameters

常量

第 20 行

std.dwarf.TAG.unspecified_type

常量

第 57 行

std.dwarf.TAG.upc_relaxed_type

常量

第 115 行

std.dwarf.TAG.upc_shared_type

常量

第 113 行

std.dwarf.TAG.upc_strict_type

常量

第 114 行

std.dwarf.TAG.variable

常量

第 48 行

std.dwarf.TAG.variant

常量

第 21 行

std.dwarf.TAG.variant_part

常量

第 47 行

std.dwarf.TAG.volatile_type

常量

第 49 行

std.dwarf.TAG.with_stmt

常量

第 30 行

std.dwarf.TAG.ZIG_comptime_value

常量

第 122 行

std.dwarf.TAG.ZIG_lost_declaration

常量

第 123 行

std.dwarf.TAG.ZIG_padding

常量

第 121 行

源码

std/dwarf/TAG.zig

pub const padding = 0x00;
pub const array_type = 0x01;
pub const class_type = 0x02;
pub const entry_point = 0x03;
pub const enumeration_type = 0x04;
pub const formal_parameter = 0x05;
pub const imported_declaration = 0x08;
pub const label = 0x0a;
pub const lexical_block = 0x0b;
pub const member = 0x0d;
pub const pointer_type = 0x0f;
pub const reference_type = 0x10;
pub const compile_unit = 0x11;
pub const string_type = 0x12;
pub const structure_type = 0x13;
pub const subroutine = 0x14;
pub const subroutine_type = 0x15;
pub const typedef = 0x16;
pub const union_type = 0x17;
pub const unspecified_parameters = 0x18;
pub const variant = 0x19;
pub const common_block = 0x1a;
pub const common_inclusion = 0x1b;
pub const inheritance = 0x1c;
pub const inlined_subroutine = 0x1d;
pub const module = 0x1e;
pub const ptr_to_member_type = 0x1f;
pub const set_type = 0x20;
pub const subrange_type = 0x21;
pub const with_stmt = 0x22;
pub const access_declaration = 0x23;
pub const base_type = 0x24;
pub const catch_block = 0x25;
pub const const_type = 0x26;
pub const constant = 0x27;
pub const enumerator = 0x28;
pub const file_type = 0x29;
pub const friend = 0x2a;
pub const namelist = 0x2b;
pub const namelist_item = 0x2c;
pub const packed_type = 0x2d;
pub const subprogram = 0x2e;
pub const template_type_parameter = 0x2f;
pub const template_value_parameter = 0x30;
pub const thrown_type = 0x31;
pub const try_block = 0x32;
pub const variant_part = 0x33;
pub const variable = 0x34;
pub const volatile_type = 0x35;

// DWARF 3
pub const dwarf_procedure = 0x36;
pub const restrict_type = 0x37;
pub const interface_type = 0x38;
pub const namespace = 0x39;
pub const imported_module = 0x3a;
pub const unspecified_type = 0x3b;
pub const partial_unit = 0x3c;
pub const imported_unit = 0x3d;
pub const condition = 0x3f;
pub const shared_type = 0x40;

// DWARF 4 格式
pub const type_unit = 0x41;
pub const rvalue_reference_type = 0x42;
pub const template_alias = 0x43;

// DWARF 5
pub const coarray_type = 0x44;
pub const generic_subrange = 0x45;
pub const dynamic_type = 0x46;
pub const atomic_type = 0x47;
pub const call_site = 0x48;
pub const call_site_parameter = 0x49;
pub const skeleton_unit = 0x4a;
pub const immutable_type = 0x4b;

pub const lo_user = 0x4080;
pub const hi_user = 0xffff;

// SGI/MIPS 扩展。
pub const MIPS_loop = 0x4081;

// HP 扩展。参见:ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz 。
pub const HP_array_descriptor = 0x4090;
pub const HP_Bliss_field = 0x4091;
pub const HP_Bliss_field_set = 0x4092;

// GNU 扩展。
pub const format_label = 0x4101; // 用于 FORTRAN 77 和 Fortran 90。
pub const function_template = 0x4102; // 用于 C++。
pub const class_template = 0x4103; // 用于 C++。
pub const GNU_BINCL = 0x4104;
pub const GNU_EINCL = 0x4105;

// 模板模板参数。
// 参见 http://gcc.gnu.org/wiki/TemplateParmsDwarf 。
pub const GNU_template_template_param = 0x4106;

// 模板参数包扩展,定义于
// http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates
// 在这些标签正式成为 DWARF 5 的一部分之前,
// 这两个标签的值位于 DW_TAG_GNU_* 空间中。
pub const GNU_template_parameter_pack = 0x4107;
pub const GNU_formal_parameter_pack = 0x4108;
// GNU 调用位置扩展的规范位于:
// http://www.dwarfstd.org/ShowIssue.php?issue=100909.2&type=open 。
// 在这些标签正式纳入 DWARF 5 之前,
// 这两个 TAG 的值位于 DW_TAG_GNU_* 空间。
pub const GNU_call_site = 0x4109;
pub const GNU_call_site_parameter = 0x410a;
// UPC 扩展。参见:http://dwarfstd.org/doc/DWARF4.pdf。
pub const upc_shared_type = 0x8765;
pub const upc_strict_type = 0x8766;
pub const upc_relaxed_type = 0x8767;
// PGI(STMicroelectronics)扩展。没有可用文档。
pub const PGI_kanji_type = 0xA000;
pub const PGI_interface_block = 0xA020;

// ZIG 扩展。
pub const ZIG_padding = 0xfdb1;
pub const ZIG_comptime_value = 0xfdb2;
pub const ZIG_lost_declaration = 0xfdb3;