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

第 1 行

std.dwarf.AT.@"inline"

常量

第 25 行

std.dwarf.AT.@"noreturn"

常量

第 125 行

std.dwarf.AT.@"type"

常量

第 58 行

std.dwarf.AT.abstract_origin

常量

第 34 行

std.dwarf.AT.accessibility

常量

第 35 行

std.dwarf.AT.addr_base

常量

第 106 行

std.dwarf.AT.address_class

常量

第 36 行

std.dwarf.AT.alignment

常量

第 126 行

std.dwarf.AT.allocated

常量

第 65 行

std.dwarf.AT.artificial

常量

第 37 行

std.dwarf.AT.associated

常量

第 66 行

std.dwarf.AT.base_types

常量

第 38 行

std.dwarf.AT.binary_scale

常量

第 78 行

std.dwarf.AT.bit_offset

常量

第 7 行

std.dwarf.AT.bit_size

常量

第 8 行

std.dwarf.AT.bit_stride

常量

第 32 行

std.dwarf.AT.body_begin

常量

第 177 行

std.dwarf.AT.body_end

常量

第 178 行

std.dwarf.AT.byte_size

常量

第 6 行

std.dwarf.AT.byte_stride

常量

第 68 行

std.dwarf.AT.call_all_calls

常量

第 112 行

std.dwarf.AT.call_all_source_calls

常量

第 113 行

std.dwarf.AT.call_all_tail_calls

常量

第 114 行

std.dwarf.AT.call_column

常量

第 74 行

std.dwarf.AT.call_data_location

常量

第 123 行

std.dwarf.AT.call_data_value

常量

第 124 行

std.dwarf.AT.call_file

常量

第 75 行

std.dwarf.AT.call_line

常量

第 76 行

std.dwarf.AT.call_origin

常量

第 117 行

std.dwarf.AT.call_parameter

常量

第 118 行

std.dwarf.AT.call_pc

常量

第 119 行

std.dwarf.AT.call_return_pc

常量

第 115 行

std.dwarf.AT.call_tail_call

常量

第 120 行

std.dwarf.AT.call_target

常量

第 121 行

std.dwarf.AT.call_target_clobbered

常量

第 122 行

std.dwarf.AT.call_value

常量

第 116 行

std.dwarf.AT.calling_convention

常量

第 39 行

std.dwarf.AT.common_reference

常量

第 20 行

std.dwarf.AT.comp_dir

常量

第 21 行

std.dwarf.AT.const_expr

常量

第 97 行

std.dwarf.AT.const_value

常量

第 22 行

std.dwarf.AT.containing_type

常量

第 23 行

std.dwarf.AT.count

常量

第 40 行

std.dwarf.AT.data_bit_offset

常量

第 96 行

std.dwarf.AT.data_location

常量

第 67 行

std.dwarf.AT.data_member_location

常量

第 41 行

std.dwarf.AT.decimal_scale

常量

第 79 行

std.dwarf.AT.decimal_sign

常量

第 81 行

std.dwarf.AT.decl_column

常量

第 42 行

std.dwarf.AT.decl_file

常量

第 43 行

std.dwarf.AT.decl_line

常量

第 44 行

std.dwarf.AT.declaration

常量

第 45 行

std.dwarf.AT.default_value

常量

第 24 行

std.dwarf.AT.defaulted

常量

第 129 行

std.dwarf.AT.deleted

常量

第 128 行

std.dwarf.AT.description

常量

第 77 行

std.dwarf.AT.digit_count

常量

第 82 行

std.dwarf.AT.discr

常量

第 15 行

std.dwarf.AT.discr_list

常量

第 46 行

std.dwarf.AT.discr_value

常量

第 16 行

std.dwarf.AT.dwo_name

常量

第 108 行

std.dwarf.AT.element_list

常量

第 9 行

std.dwarf.AT.elemental

常量

第 89 行

std.dwarf.AT.encoding

常量

第 47 行

std.dwarf.AT.endianity

常量

第 88 行

std.dwarf.AT.entry_pc

常量

第 69 行

std.dwarf.AT.enum_class

常量

第 98 行

std.dwarf.AT.explicit

常量

第 86 行

std.dwarf.AT.export_symbols

常量

第 127 行

std.dwarf.AT.extension

常量

第 71 行

std.dwarf.AT.external

常量

第 48 行

std.dwarf.AT.frame_base

常量

第 49 行

std.dwarf.AT.friend

常量

第 50 行

std.dwarf.AT.GNAT_descriptive_type

常量

第 220 行

std.dwarf.AT.GNU_addr_base

常量

第 211 行

std.dwarf.AT.GNU_all_call_sites

常量

第 203 行

std.dwarf.AT.GNU_all_source_call_sites

常量

第 204 行

std.dwarf.AT.GNU_all_tail_call_sites

常量

第 202 行

std.dwarf.AT.GNU_call_site_data_value

常量

第 198 行

std.dwarf.AT.GNU_call_site_target

常量

第 199 行

std.dwarf.AT.GNU_call_site_target_clobbered

常量

第 200 行

std.dwarf.AT.GNU_call_site_value

常量

第 197 行

std.dwarf.AT.GNU_dwo_id

常量

第 209 行

std.dwarf.AT.GNU_dwo_name

常量

第 208 行

std.dwarf.AT.GNU_exclusive_locks_required

常量

第 187 行

std.dwarf.AT.GNU_guarded

常量

第 184 行

std.dwarf.AT.GNU_guarded_by

常量

第 182 行

std.dwarf.AT.GNU_locks_excluded

常量

第 186 行

std.dwarf.AT.GNU_macros

常量

第 206 行

std.dwarf.AT.GNU_odr_signature

常量

第 191 行

std.dwarf.AT.GNU_pt_guarded

常量

第 185 行

std.dwarf.AT.GNU_pt_guarded_by

常量

第 183 行

std.dwarf.AT.GNU_pubnames

常量

第 212 行

std.dwarf.AT.GNU_pubtypes

常量

第 213 行

std.dwarf.AT.GNU_ranges_base

常量

第 210 行

std.dwarf.AT.GNU_shared_locks_required

常量

第 188 行

std.dwarf.AT.GNU_tail_call

常量

第 201 行

std.dwarf.AT.GNU_template_name

常量

第 194 行

std.dwarf.AT.GNU_vector

常量

第 179 行

std.dwarf.AT.hi_user

常量

第 133 行

std.dwarf.AT.high_pc

常量

第 12 行

std.dwarf.AT.HP_actuals_stmt_list

常量

第 153 行

std.dwarf.AT.HP_all_variables_modifiable

常量

第 162 行

std.dwarf.AT.HP_block_index

常量

第 149 行

std.dwarf.AT.HP_cold_region_high_pc

常量

第 161 行

std.dwarf.AT.HP_cold_region_low_pc

常量

第 160 行

std.dwarf.AT.HP_default_location

常量

第 169 行

std.dwarf.AT.HP_definition_points

常量

第 168 行

std.dwarf.AT.HP_epilogue

常量

第 152 行

std.dwarf.AT.HP_is_result_param

常量

第 170 行

std.dwarf.AT.HP_linkage_name

常量

第 163 行

std.dwarf.AT.HP_opt_flags

常量

第 159 行

std.dwarf.AT.HP_opt_level

常量

第 157 行

std.dwarf.AT.HP_pass_by_reference

常量

第 156 行

std.dwarf.AT.HP_proc_per_section

常量

第 154 行

std.dwarf.AT.HP_prof_flags

常量

第 164 行

std.dwarf.AT.HP_prof_version_id

常量

第 158 行

std.dwarf.AT.HP_prologue

常量

第 151 行

std.dwarf.AT.HP_raw_data_ptr

常量

第 155 行

std.dwarf.AT.HP_unit_name

常量

第 165 行

std.dwarf.AT.HP_unit_size

常量

第 166 行

std.dwarf.AT.HP_unmodifiable

常量

第 150 行

std.dwarf.AT.HP_widened_byte_size

常量

第 167 行

std.dwarf.AT.identifier_case

常量

第 51 行

std.dwarf.AT.import

常量

第 18 行

std.dwarf.AT.is_optional

常量

第 26 行

std.dwarf.AT.language

常量

第 13 行

std.dwarf.AT.linkage_name

常量

第 99 行

std.dwarf.AT.lo_user

常量

第 132 行

std.dwarf.AT.location

常量

第 2 行

std.dwarf.AT.loclists_base

常量

第 130 行

std.dwarf.AT.low_pc

常量

第 11 行

std.dwarf.AT.lower_bound

常量

第 27 行

std.dwarf.AT.mac_info

常量

第 175 行

std.dwarf.AT.macro_info

常量

第 52 行

std.dwarf.AT.macros

常量

第 111 行

std.dwarf.AT.main_subprogram

常量

第 95 行

std.dwarf.AT.member

常量

第 14 行

std.dwarf.AT.MIPS_abstract_name

常量

第 144 行

std.dwarf.AT.MIPS_clone_origin

常量

第 145 行

std.dwarf.AT.MIPS_epilog_begin

常量

第 139 行

std.dwarf.AT.MIPS_fde

常量

第 136 行

std.dwarf.AT.MIPS_has_inlines

常量

第 146 行

std.dwarf.AT.MIPS_linkage_name

常量

第 142 行

std.dwarf.AT.MIPS_loop_begin

常量

第 137 行

std.dwarf.AT.MIPS_loop_unroll_factor

常量

第 140 行

std.dwarf.AT.MIPS_software_pipeline_depth

常量

第 141 行

std.dwarf.AT.MIPS_stride

常量

第 143 行

std.dwarf.AT.MIPS_tail_loop_begin

常量

第 138 行

std.dwarf.AT.mutable

常量

第 84 行

std.dwarf.AT.name

常量

第 3 行

std.dwarf.AT.namelist_items

常量

第 53 行

std.dwarf.AT.object_pointer

常量

第 87 行

std.dwarf.AT.ordering

常量

第 4 行

std.dwarf.AT.PGI_lbase

常量

第 234 行

std.dwarf.AT.PGI_lstride

常量

第 236 行

std.dwarf.AT.PGI_soffset

常量

第 235 行

std.dwarf.AT.picture_string

常量

第 83 行

std.dwarf.AT.priority

常量

第 54 行

std.dwarf.AT.producer

常量

第 28 行

std.dwarf.AT.prototyped

常量

第 29 行

std.dwarf.AT.pure

常量

第 90 行

std.dwarf.AT.ranges

常量

第 72 行

std.dwarf.AT.rank

常量

第 104 行

std.dwarf.AT.recursive

常量

第 91 行

std.dwarf.AT.reference

常量

第 109 行

std.dwarf.AT.return_addr

常量

第 30 行

std.dwarf.AT.rnglists_base

常量

第 107 行

std.dwarf.AT.rvalue_reference

常量

第 110 行

std.dwarf.AT.segment

常量

第 55 行

std.dwarf.AT.sf_names

常量

第 173 行

std.dwarf.AT.sibling

常量

第 1 行

std.dwarf.AT.signature

常量

第 94 行

std.dwarf.AT.small

常量

第 80 行

std.dwarf.AT.specification

常量

第 56 行

std.dwarf.AT.src_coords

常量

第 176 行

std.dwarf.AT.src_info

常量

第 174 行

std.dwarf.AT.start_scope

常量

第 31 行

std.dwarf.AT.static_link

常量

第 57 行

std.dwarf.AT.stmt_list

常量

第 10 行

std.dwarf.AT.str_offsets_base

常量

第 105 行

std.dwarf.AT.string_length

常量

第 19 行

std.dwarf.AT.string_length_bit_size

常量

第 102 行

std.dwarf.AT.string_length_byte_size

常量

第 103 行

std.dwarf.AT.subscr_data

常量

第 5 行

std.dwarf.AT.threads_scaled

常量

第 85 行

std.dwarf.AT.trampoline

常量

第 73 行

std.dwarf.AT.upc_threads_scaled

常量

第 232 行

std.dwarf.AT.upper_bound

常量

第 33 行

std.dwarf.AT.use_GNAT_descriptive_type

常量

第 219 行

std.dwarf.AT.use_location

常量

第 59 行

std.dwarf.AT.use_UTF8

常量

第 70 行

std.dwarf.AT.variable_parameter

常量

第 60 行

std.dwarf.AT.virtuality

常量

第 61 行

std.dwarf.AT.visibility

常量

第 17 行

std.dwarf.AT.VMS_rtnbeg_pd_address

常量

第 215 行

std.dwarf.AT.vtable_elem_location

常量

第 62 行

std.dwarf.AT.ZIG_call_line_relative

常量

第 228 行

std.dwarf.AT.ZIG_comptime_value

常量

第 227 行

std.dwarf.AT.ZIG_decl_line_relative

常量

第 226 行

std.dwarf.AT.ZIG_padding

常量

第 224 行

std.dwarf.AT.ZIG_parent

常量

第 223 行

std.dwarf.AT.ZIG_relative_decl

常量

第 225 行

std.dwarf.AT.ZIG_sentinel

常量

第 229 行

源码

std/dwarf/AT.zig

pub const sibling = 0x01;
pub const location = 0x02;
pub const name = 0x03;
pub const ordering = 0x09;
pub const subscr_data = 0x0a;
pub const byte_size = 0x0b;
pub const bit_offset = 0x0c;
pub const bit_size = 0x0d;
pub const element_list = 0x0f;
pub const stmt_list = 0x10;
pub const low_pc = 0x11;
pub const high_pc = 0x12;
pub const language = 0x13;
pub const member = 0x14;
pub const discr = 0x15;
pub const discr_value = 0x16;
pub const visibility = 0x17;
pub const import = 0x18;
pub const string_length = 0x19;
pub const common_reference = 0x1a;
pub const comp_dir = 0x1b;
pub const const_value = 0x1c;
pub const containing_type = 0x1d;
pub const default_value = 0x1e;
pub const @"inline" = 0x20;
pub const is_optional = 0x21;
pub const lower_bound = 0x22;
pub const producer = 0x25;
pub const prototyped = 0x27;
pub const return_addr = 0x2a;
pub const start_scope = 0x2c;
pub const bit_stride = 0x2e;
pub const upper_bound = 0x2f;
pub const abstract_origin = 0x31;
pub const accessibility = 0x32;
pub const address_class = 0x33;
pub const artificial = 0x34;
pub const base_types = 0x35;
pub const calling_convention = 0x36;
pub const count = 0x37;
pub const data_member_location = 0x38;
pub const decl_column = 0x39;
pub const decl_file = 0x3a;
pub const decl_line = 0x3b;
pub const declaration = 0x3c;
pub const discr_list = 0x3d;
pub const encoding = 0x3e;
pub const external = 0x3f;
pub const frame_base = 0x40;
pub const friend = 0x41;
pub const identifier_case = 0x42;
pub const macro_info = 0x43;
pub const namelist_items = 0x44;
pub const priority = 0x45;
pub const segment = 0x46;
pub const specification = 0x47;
pub const static_link = 0x48;
pub const @"type" = 0x49;
pub const use_location = 0x4a;
pub const variable_parameter = 0x4b;
pub const virtuality = 0x4c;
pub const vtable_elem_location = 0x4d;

// DWARF 3 取值。
pub const allocated = 0x4e;
pub const associated = 0x4f;
pub const data_location = 0x50;
pub const byte_stride = 0x51;
pub const entry_pc = 0x52;
pub const use_UTF8 = 0x53;
pub const extension = 0x54;
pub const ranges = 0x55;
pub const trampoline = 0x56;
pub const call_column = 0x57;
pub const call_file = 0x58;
pub const call_line = 0x59;
pub const description = 0x5a;
pub const binary_scale = 0x5b;
pub const decimal_scale = 0x5c;
pub const small = 0x5d;
pub const decimal_sign = 0x5e;
pub const digit_count = 0x5f;
pub const picture_string = 0x60;
pub const mutable = 0x61;
pub const threads_scaled = 0x62;
pub const explicit = 0x63;
pub const object_pointer = 0x64;
pub const endianity = 0x65;
pub const elemental = 0x66;
pub const pure = 0x67;
pub const recursive = 0x68;

// DWARF 4.
pub const signature = 0x69;
pub const main_subprogram = 0x6a;
pub const data_bit_offset = 0x6b;
pub const const_expr = 0x6c;
pub const enum_class = 0x6d;
pub const linkage_name = 0x6e;

// DWARF 5
pub const string_length_bit_size = 0x6f;
pub const string_length_byte_size = 0x70;
pub const rank = 0x71;
pub const str_offsets_base = 0x72;
pub const addr_base = 0x73;
pub const rnglists_base = 0x74;
pub const dwo_name = 0x76;
pub const reference = 0x77;
pub const rvalue_reference = 0x78;
pub const macros = 0x79;
pub const call_all_calls = 0x7a;
pub const call_all_source_calls = 0x7b;
pub const call_all_tail_calls = 0x7c;
pub const call_return_pc = 0x7d;
pub const call_value = 0x7e;
pub const call_origin = 0x7f;
pub const call_parameter = 0x80;
pub const call_pc = 0x81;
pub const call_tail_call = 0x82;
pub const call_target = 0x83;
pub const call_target_clobbered = 0x84;
pub const call_data_location = 0x85;
pub const call_data_value = 0x86;
pub const @"noreturn" = 0x87;
pub const alignment = 0x88;
pub const export_symbols = 0x89;
pub const deleted = 0x8a;
pub const defaulted = 0x8b;
pub const loclists_base = 0x8c;

pub const lo_user = 0x2000; // 实现定义范围的起始值。
pub const hi_user = 0x3fff; // 实现定义范围的结束值。

// SGI/MIPS 扩展。
pub const MIPS_fde = 0x2001;
pub const MIPS_loop_begin = 0x2002;
pub const MIPS_tail_loop_begin = 0x2003;
pub const MIPS_epilog_begin = 0x2004;
pub const MIPS_loop_unroll_factor = 0x2005;
pub const MIPS_software_pipeline_depth = 0x2006;
pub const MIPS_linkage_name = 0x2007;
pub const MIPS_stride = 0x2008;
pub const MIPS_abstract_name = 0x2009;
pub const MIPS_clone_origin = 0x200a;
pub const MIPS_has_inlines = 0x200b;

// HP 扩展。
pub const HP_block_index = 0x2000;
pub const HP_unmodifiable = 0x2001; // 与 AT.MIPS_fde 相同。
pub const HP_prologue = 0x2005; // 与 AT.MIPS_loop_unroll 相同。
pub const HP_epilogue = 0x2008; // 与 AT.MIPS_stride 相同。
pub const HP_actuals_stmt_list = 0x2010;
pub const HP_proc_per_section = 0x2011;
pub const HP_raw_data_ptr = 0x2012;
pub const HP_pass_by_reference = 0x2013;
pub const HP_opt_level = 0x2014;
pub const HP_prof_version_id = 0x2015;
pub const HP_opt_flags = 0x2016;
pub const HP_cold_region_low_pc = 0x2017;
pub const HP_cold_region_high_pc = 0x2018;
pub const HP_all_variables_modifiable = 0x2019;
pub const HP_linkage_name = 0x201a;
pub const HP_prof_flags = 0x201b; // 位于 -g 对应的 procs_info 编译单元内。
pub const HP_unit_name = 0x201f;
pub const HP_unit_size = 0x2020;
pub const HP_widened_byte_size = 0x2021;
pub const HP_definition_points = 0x2022;
pub const HP_default_location = 0x2023;
pub const HP_is_result_param = 0x2029;

// GNU 扩展。
pub const sf_names = 0x2101;
pub const src_info = 0x2102;
pub const mac_info = 0x2103;
pub const src_coords = 0x2104;
pub const body_begin = 0x2105;
pub const body_end = 0x2106;
pub const GNU_vector = 0x2107;
// 线程安全注解。
// 参见 http://gcc.gnu.org/wiki/ThreadSafetyAnnotation 。
pub const GNU_guarded_by = 0x2108;
pub const GNU_pt_guarded_by = 0x2109;
pub const GNU_guarded = 0x210a;
pub const GNU_pt_guarded = 0x210b;
pub const GNU_locks_excluded = 0x210c;
pub const GNU_exclusive_locks_required = 0x210d;
pub const GNU_shared_locks_required = 0x210e;
// 单一定义规则违规检测。
// 参见 http://gcc.gnu.org/wiki/DwarfSeparateTypeInfo 。
pub const GNU_odr_signature = 0x210f;
// 模板模板参数名称。
// 参见 http://gcc.gnu.org/wiki/TemplateParmsDwarf 。
pub const GNU_template_name = 0x2110;
// GNU 调用点扩展。
// 参见 http://www.dwarfstd.org/ShowIssue.php?issue=100909.2&type=open 。
pub const GNU_call_site_value = 0x2111;
pub const GNU_call_site_data_value = 0x2112;
pub const GNU_call_site_target = 0x2113;
pub const GNU_call_site_target_clobbered = 0x2114;
pub const GNU_tail_call = 0x2115;
pub const GNU_all_tail_call_sites = 0x2116;
pub const GNU_all_call_sites = 0x2117;
pub const GNU_all_source_call_sites = 0x2118;
// .debug_macro 节内的节偏移量。
pub const GNU_macros = 0x2119;
// Fission 扩展。参见 http://gcc.gnu.org/wiki/DebugFission。
pub const GNU_dwo_name = 0x2130;
pub const GNU_dwo_id = 0x2131;
pub const GNU_ranges_base = 0x2132;
pub const GNU_addr_base = 0x2133;
pub const GNU_pubnames = 0x2134;
pub const GNU_pubtypes = 0x2135;
// VMS 扩展。
pub const VMS_rtnbeg_pd_address = 0x2201;
// GNAT 扩展。
// GNAT 描述类型。
// 参见 http://gcc.gnu.org/wiki/DW_AT_GNAT_descriptive_type 。
pub const use_GNAT_descriptive_type = 0x2301;
pub const GNAT_descriptive_type = 0x2302;

// Zig 扩展。
pub const ZIG_parent = 0x2ccd;
pub const ZIG_padding = 0x2cce;
pub const ZIG_relative_decl = 0x2cd0;
pub const ZIG_decl_line_relative = 0x2cd1;
pub const ZIG_comptime_value = 0x2cd2;
pub const ZIG_call_line_relative = 0x2cd3;
pub const ZIG_sentinel = 0x2ce2;

// UPC 扩展。
pub const upc_threads_scaled = 0x3210;
// PGI(STMicroelectronics)扩展。
pub const PGI_lbase = 0x3a00;
pub const PGI_soffset = 0x3a01;
pub const PGI_lstride = 0x3a02;