| 1 |
// SPDX-License-Identifier: MPL-2.0 |
| 2 |
// (c) Hare authors <https://harelang.org> |
| 3 |
|
| 4 |
// DWARF constant definitions |
| 5 |
// Updated as of DWARF 5 |
| 6 |
|
| 7 |
export def DW_TAG_array_type: u32 = 0x01; |
| 8 |
export def DW_TAG_class_type: u32 = 0x02; |
| 9 |
export def DW_TAG_entry_point: u32 = 0x03; |
| 10 |
export def DW_TAG_enumeration_type: u32 = 0x04; |
| 11 |
export def DW_TAG_formal_parameter: u32 = 0x05; |
| 12 |
// 0x06, 0x07: reserved |
| 13 |
export def DW_TAG_imported_declaration: u32 = 0x08A; |
| 14 |
// 0x09: reserved |
| 15 |
export def DW_TAG_label: u32 = 0x0a; |
| 16 |
export def DW_TAG_lexical_block: u32 = 0x0b; |
| 17 |
// 0x0c: reserved |
| 18 |
export def DW_TAG_member: u32 = 0x0d; |
| 19 |
// 0x0e: reserved |
| 20 |
export def DW_TAG_pointer_type: u32 = 0x0f; |
| 21 |
export def DW_TAG_reference_type: u32 = 0x10; |
| 22 |
export def DW_TAG_compile_unit: u32 = 0x11; |
| 23 |
export def DW_TAG_string_type: u32 = 0x12; |
| 24 |
export def DW_TAG_structure_type: u32 = 0x13; |
| 25 |
// 0x14: reserved |
| 26 |
export def DW_TAG_subroutine_type: u32 = 0x15; |
| 27 |
export def DW_TAG_typedef: u32 = 0x16; |
| 28 |
export def DW_TAG_union_type: u32 = 0x17; |
| 29 |
export def DW_TAG_unspecified_paramters: u32 = 0x18; |
| 30 |
export def DW_TAG_variant: u32 = 0x19; |
| 31 |
export def DW_TAG_common_block: u32 = 0x1a; |
| 32 |
export def DW_TAG_common_inclusion: u32 = 0x1b; |
| 33 |
export def DW_TAG_inheritance: u32 = 0x1c; |
| 34 |
export def DW_TAG_inlined_subroutine: u32 = 0x1d; |
| 35 |
export def DW_TAG_module: u32 = 0x1e; |
| 36 |
export def DW_TAG_ptr_to_member_type: u32 = 0x1f; |
| 37 |
export def DW_TAG_set_type: u32 = 0x20; |
| 38 |
export def DW_TAG_subrange_type: u32 = 0x21; |
| 39 |
export def DW_TAG_with_stmt: u32 = 0x22; |
| 40 |
export def DW_TAG_access_declaration: u32 = 0x23; |
| 41 |
export def DW_TAG_base_type: u32 = 0x24; |
| 42 |
export def DW_TAG_catch_block: u32 = 0x25; |
| 43 |
export def DW_TAG_const_type: u32 = 0x26; |
| 44 |
export def DW_TAG_constant: u32 = 0x27; |
| 45 |
export def DW_TAG_enumerator: u32 = 0x28; |
| 46 |
export def DW_TAG_file_type: u32 = 0x29; |
| 47 |
export def DW_TAG_friend: u32 = 0x2a; |
| 48 |
export def DW_TAG_namelist: u32 = 0x2b; |
| 49 |
export def DW_TAG_namelist_item: u32 = 0x2c; |
| 50 |
export def DW_TAG_packed_type: u32 = 0x2d; |
| 51 |
export def DW_TAG_subprogram: u32 = 0x2e; |
| 52 |
export def DW_TAG_template_type_parameter: u32 = 0x2f; |
| 53 |
export def DW_TAG_template_value_parameter: u32 = 0x30; |
| 54 |
export def DW_TAG_thrown_type: u32 = 0x31; |
| 55 |
export def DW_TAG_try_block: u32 = 0x32; |
| 56 |
export def DW_TAG_variant_part: u32 = 0x33; |
| 57 |
export def DW_TAG_variable: u32 = 0x34; |
| 58 |
export def DW_TAG_volatile_type: u32 = 0x35; |
| 59 |
export def DW_TAG_dwarf_procedure: u32 = 0x36; |
| 60 |
export def DW_TAG_restrict_type: u32 = 0x37; |
| 61 |
export def DW_TAG_interface_type: u32 = 0x38; |
| 62 |
export def DW_TAG_namespace: u32 = 0x39; |
| 63 |
export def DW_TAG_imported_module: u32 = 0x3a; |
| 64 |
export def DW_TAG_unspecified_type: u32 = 0x3b; |
| 65 |
export def DW_TAG_partial_unit: u32 = 0x3c; |
| 66 |
export def DW_TAG_imported_unit: u32 = 0x3d; |
| 67 |
// 0x3e: reserved |
| 68 |
export def DW_TAG_condition: u32 = 0x3f; |
| 69 |
export def DW_TAG_shared_type: u32 = 0x40; |
| 70 |
export def DW_TAG_type_unit: u32 = 0x41; |
| 71 |
export def DW_TAG_rvalue_reference_type: u32 = 0x42; |
| 72 |
export def DW_TAG_template_alias: u32 = 0x43; |
| 73 |
export def DW_TAG_coarray_type: u32 = 0x44; |
| 74 |
export def DW_TAG_generic_subrange: u32 = 0x45; |
| 75 |
export def DW_TAG_dynamic_type: u32 = 0x46; |
| 76 |
export def DW_TAG_atomic_type: u32 = 0x47; |
| 77 |
export def DW_TAG_call_site: u32 = 0x48; |
| 78 |
export def DW_TAG_call_site_parameter: u32 = 0x49; |
| 79 |
export def DW_TAG_skeleton_unit: u32 = 0x4a; |
| 80 |
export def DW_TAG_immutable_type: u32 = 0x4b; |
| 81 |
export def DW_TAG_lo_user: u32 = 0x4080; |
| 82 |
export def DW_TAG_hi_user: u32 = 0xffff; |
| 83 |
|
| 84 |
export def DW_CHILDREN_no: uint = 0x00; |
| 85 |
export def DW_CHILDREN_yes: uint = 0x01; |
| 86 |
|
| 87 |
export def DW_AT_sibling: u32 = 0x01; |
| 88 |
export def DW_AT_location: u32 = 0x02; |
| 89 |
export def DW_AT_name: u32 = 0x03; |
| 90 |
// 0x04-0x08: reserved |
| 91 |
export def DW_AT_ordering: u32 = 0x09; |
| 92 |
// 0x0a: reserved |
| 93 |
export def DW_AT_byte_size: u32 = 0x0b; |
| 94 |
// 0x0c: reserved |
| 95 |
export def DW_AT_bit_size: u32 = 0x0d; |
| 96 |
// 0x0e, 0x0f: reserved |
| 97 |
export def DW_AT_stmt_list: u32 = 0x10; |
| 98 |
export def DW_AT_low_pc: u32 = 0x11; |
| 99 |
export def DW_AT_high_pc: u32 = 0x12; |
| 100 |
export def DW_AT_language: u32 = 0x13; |
| 101 |
// 0x14: reserved |
| 102 |
export def DW_AT_discr: u32 = 0x15; |
| 103 |
export def DW_AT_discr_value: u32 = 0x16; |
| 104 |
export def DW_AT_visibility: u32 = 0x17; |
| 105 |
export def DW_AT_import: u32 = 0x18; |
| 106 |
export def DW_AT_string_length: u32 = 0x19; |
| 107 |
export def DW_AT_common_reference: u32 = 0x1a; |
| 108 |
export def DW_AT_comp_dir: u32 = 0x1b; |
| 109 |
export def DW_AT_const_value: u32 = 0x1c; |
| 110 |
export def DW_AT_containing_type: u32 = 0x1d; |
| 111 |
export def DW_AT_default_value: u32 = 0x1e; |
| 112 |
// 0x1f: reserved |
| 113 |
export def DW_AT_inline: u32 = 0x20; |
| 114 |
export def DW_AT_is_optional: u32 = 0x21; |
| 115 |
export def DW_AT_is_lower_bound: u32 = 0x22; |
| 116 |
// 0x23, 0x24: reserved |
| 117 |
export def DW_AT_producer: u32 = 0x25; |
| 118 |
// 0x26: reserved |
| 119 |
export def DW_AT_prototyped: u32 = 0x27; |
| 120 |
// 0x28, 0x29: reserved |
| 121 |
export def DW_AT_return_addr: u32 = 0x2a; |
| 122 |
// 0x2b: reserved |
| 123 |
export def DW_AT_start_scope: u32 = 0x2c; |
| 124 |
// 0x2d: reserved |
| 125 |
export def DW_AT_bit_stride: u32 = 0x2e; |
| 126 |
export def DW_AT_upper_bound: u32 = 0x2f; |
| 127 |
// 0x30: reserved |
| 128 |
export def DW_AT_abstract_origin: u32 = 0x31; |
| 129 |
export def DW_AT_accessibility: u32 = 0x32; |
| 130 |
export def DW_AT_address_class: u32 = 0x33; |
| 131 |
export def DW_AT_artificial: u32 = 0x34; |
| 132 |
export def DW_AT_base_types: u32 = 0x35; |
| 133 |
export def DW_AT_calling_convention: u32 = 0x36; |
| 134 |
export def DW_AT_count: u32 = 0x37; |
| 135 |
export def DW_AT_data_member_location: u32 = 0x38; |
| 136 |
export def DW_AT_decl_column: u32 = 0x39; |
| 137 |
export def DW_AT_decl_file: u32 = 0x3a; |
| 138 |
export def DW_AT_decl_line: u32 = 0x3b; |
| 139 |
export def DW_AT_declaration: u32 = 0x3c; |
| 140 |
export def DW_AT_discr_list: u32 = 0x3d; |
| 141 |
export def DW_AT_encoding: u32 = 0x3e; |
| 142 |
export def DW_AT_external: u32 = 0x3f; |
| 143 |
export def DW_AT_frame_base: u32 = 0x40; |
| 144 |
export def DW_AT_friend: u32 = 0x41; |
| 145 |
export def DW_AT_identifier_case: u32 = 0x42; |
| 146 |
// 0x43: reserved |
| 147 |
export def DW_AT_namelist_item: u32 = 0x44; |
| 148 |
export def DW_AT_priority: u32 = 0x45; |
| 149 |
export def DW_AT_segment: u32 = 0x46; |
| 150 |
export def DW_AT_specification: u32 = 0x47; |
| 151 |
export def DW_AT_static_link: u32 = 0x48; |
| 152 |
export def DW_AT_type: u32 = 0x49; |
| 153 |
export def DW_AT_use_location: u32 = 0x4a; |
| 154 |
export def DW_AT_variable_parameter: u32 = 0x4b; |
| 155 |
export def DW_AT_virtuality: u32 = 0x4c; |
| 156 |
export def DW_AT_vtable_elem_location: u32 = 0x4d; |
| 157 |
export def DW_AT_allocated: u32 = 0x4e; |
| 158 |
export def DW_AT_associated: u32 = 0x4f; |
| 159 |
export def DW_AT_data_location: u32 = 0x50; |
| 160 |
export def DW_AT_byte_stride: u32 = 0x51; |
| 161 |
export def DW_AT_entry_pc: u32 = 0x52; |
| 162 |
export def DW_AT_use_UTF8: u32 = 0x53; |
| 163 |
export def DW_AT_extension: u32 = 0x54; |
| 164 |
export def DW_AT_ranges: u32 = 0x55; |
| 165 |
export def DW_AT_trampoline: u32 = 0x56; |
| 166 |
export def DW_AT_call_column: u32 = 0x57; |
| 167 |
export def DW_AT_call_file: u32 = 0x58; |
| 168 |
export def DW_AT_call_line: u32 = 0x59; |
| 169 |
export def DW_AT_description: u32 = 0x5a; |
| 170 |
export def DW_AT_binary_scale: u32 = 0x5b; |
| 171 |
export def DW_AT_decimal_scale: u32 = 0x5c; |
| 172 |
export def DW_AT_small: u32 = 0x5d; |
| 173 |
export def DW_AT_decimal_sign: u32 = 0x5e; |
| 174 |
export def DW_AT_digit_count: u32 = 0x5f; |
| 175 |
export def DW_AT_picture_string: u32 = 0x60; |
| 176 |
export def DW_AT_mutable: u32 = 0x61; |
| 177 |
export def DW_AT_threads_scaled: u32 = 0x62; |
| 178 |
export def DW_AT_explicit: u32 = 0x63; |
| 179 |
export def DW_AT_object_pointer: u32 = 0x64; |
| 180 |
export def DW_AT_endianity: u32 = 0x65; |
| 181 |
export def DW_AT_elemental: u32 = 0x66; |
| 182 |
export def DW_AT_pure: u32 = 0x67; |
| 183 |
export def DW_AT_recursive: u32 = 0x68; |
| 184 |
export def DW_AT_signature: u32 = 0x69; |
| 185 |
export def DW_AT_main_subprogram: u32 = 0x6a; |
| 186 |
export def DW_AT_data_bit_offset: u32 = 0x6b; |
| 187 |
export def DW_AT_const_expr: u32 = 0x6c; |
| 188 |
export def DW_AT_enum_class: u32 = 0x6d; |
| 189 |
export def DW_AT_linkage_name: u32 = 0x6e; |
| 190 |
export def DW_AT_string_length_bit_size: u32 = 0x6f; |
| 191 |
export def DW_AT_string_length_byte_size: u32 = 0x70; |
| 192 |
export def DW_AT_rank: u32 = 0x71; |
| 193 |
export def DW_AT_str_offsets_base: u32 = 0x72; |
| 194 |
export def DW_AT_addr_base: u32 = 0x73; |
| 195 |
export def DW_AT_rnglists_base: u32 = 0x74; |
| 196 |
// 0x75: reserved |
| 197 |
export def DW_AT_dwo_name: u32 = 0x76; |
| 198 |
export def DW_AT_reference: u32 = 0x77; |
| 199 |
export def DW_AT_rvalue_reference: u32 = 0x78; |
| 200 |
export def DW_AT_macros: u32 = 0x79; |
| 201 |
export def DW_AT_call_all_calls: u32 = 0x7a; |
| 202 |
export def DW_AT_call_all_source_calls: u32 = 0x7b; |
| 203 |
export def DW_AT_call_all_tail_calls: u32 = 0x7c; |
| 204 |
export def DW_AT_call_return_pc: u32 = 0x7d; |
| 205 |
export def DW_AT_call_value: u32 = 0x7e; |
| 206 |
export def DW_AT_call_origin: u32 = 0x7f; |
| 207 |
export def DW_AT_call_parameter: u32 = 0x80; |
| 208 |
export def DW_AT_call_pc: u32 = 0x81; |
| 209 |
export def DW_AT_call_tail_call: u32 = 0x82; |
| 210 |
export def DW_AT_call_target: u32 = 0x83; |
| 211 |
export def DW_AT_call_target_clobbered: u32 = 0x84; |
| 212 |
export def DW_AT_call_data_location: u32 = 0x85; |
| 213 |
export def DW_AT_call_data_value: u32 = 0x86; |
| 214 |
export def DW_AT_noreturn: u32 = 0x87; |
| 215 |
export def DW_AT_alignment: u32 = 0x88; |
| 216 |
export def DW_AT_export_symbols: u32 = 0x89; |
| 217 |
export def DW_AT_deleted: u32 = 0x8a; |
| 218 |
export def DW_AT_defaulted: u32 = 0x8b; |
| 219 |
export def DW_AT_loclists_base: u32 = 0x8c; |
| 220 |
export def DW_AT_lo_user: u32 = 0x2000; |
| 221 |
export def DW_AT_hi_user: u32 = 0x3fff; |
| 222 |
|
| 223 |
export def DW_FORM_addr: u32 = 0x01; |
| 224 |
// 0x02: reserved |
| 225 |
export def DW_FORM_block2: u32 = 0x03; |
| 226 |
export def DW_FORM_block4: u32 = 0x04; |
| 227 |
export def DW_FORM_data2: u32 = 0x05; |
| 228 |
export def DW_FORM_data4: u32 = 0x06; |
| 229 |
export def DW_FORM_data8: u32 = 0x07; |
| 230 |
export def DW_FORM_string: u32 = 0x08; |
| 231 |
export def DW_FORM_block: u32 = 0x09; |
| 232 |
export def DW_FORM_block1: u32 = 0x0a; |
| 233 |
export def DW_FORM_data1: u32 = 0x0b; |
| 234 |
export def DW_FORM_flag: u32 = 0x0c; |
| 235 |
export def DW_FORM_sdata: u32 = 0x0d; |
| 236 |
export def DW_FORM_strp: u32 = 0x0e; |
| 237 |
export def DW_FORM_udata: u32 = 0x0f; |
| 238 |
export def DW_FORM_ref_addr: u32 = 0x10; |
| 239 |
export def DW_FORM_ref1: u32 = 0x11; |
| 240 |
export def DW_FORM_ref2: u32 = 0x12; |
| 241 |
export def DW_FORM_ref4: u32 = 0x13; |
| 242 |
export def DW_FORM_ref8: u32 = 0x14; |
| 243 |
export def DW_FORM_ref_udata: u32 = 0x15; |
| 244 |
export def DW_FORM_indirect: u32 = 0x16; |
| 245 |
export def DW_FORM_sec_offset: u32 = 0x17; |
| 246 |
export def DW_FORM_exprloc: u32 = 0x18; |
| 247 |
export def DW_FORM_flag_present: u32 = 0x19; |
| 248 |
export def DW_FORM_strx: u32 = 0x1a; |
| 249 |
export def DW_FORM_addrx: u32 = 0x1b; |
| 250 |
export def DW_FORM_ref_sup4: u32 = 0x1c; |
| 251 |
export def DW_FORM_strp_sup: u32 = 0x1d; |
| 252 |
export def DW_FORM_data16: u32 = 0x1e; |
| 253 |
export def DW_FORM_line_strp: u32 = 0x1f; |
| 254 |
export def DW_FORM_ref_sig8: u32 = 0x20; |
| 255 |
export def DW_FORM_implicit_const: u32 = 0x21; |
| 256 |
export def DW_FORM_loclistx: u32 = 0x22; |
| 257 |
export def DW_FORM_rnglistx: u32 = 0x23; |
| 258 |
export def DW_FORM_ref_sup8: u32 = 0x24; |
| 259 |
export def DW_FORM_strx1: u32 = 0x25; |
| 260 |
export def DW_FORM_strx2: u32 = 0x26; |
| 261 |
export def DW_FORM_strx3: u32 = 0x27; |
| 262 |
export def DW_FORM_strx4: u32 = 0x28; |
| 263 |
export def DW_FORM_addrx1: u32 = 0x29; |
| 264 |
export def DW_FORM_addrx2: u32 = 0x2a; |
| 265 |
export def DW_FORM_addrx3: u32 = 0x2b; |
| 266 |
export def DW_FORM_addrx4: u32 = 0x2c; |
| 267 |
|
| 268 |
// 0x01, 0x02: reserved |
| 269 |
export def DW_OP_addr: u8 = 0x03; |
| 270 |
// 0x04, 0x05: reserved |
| 271 |
export def DW_OP_deref: u8 = 0x06; |
| 272 |
// 0x07: reserved |
| 273 |
export def DW_OP_const1u: u8 = 0x08; |
| 274 |
export def DW_OP_const1s: u8 = 0x09; |
| 275 |
export def DW_OP_const2u: u8 = 0x0a; |
| 276 |
export def DW_OP_const2s: u8 = 0x0b; |
| 277 |
export def DW_OP_const4u: u8 = 0x0c; |
| 278 |
export def DW_OP_const4s: u8 = 0x0d; |
| 279 |
export def DW_OP_const8u: u8 = 0x0e; |
| 280 |
export def DW_OP_const8s: u8 = 0x0f; |
| 281 |
export def DW_OP_constu: u8 = 0x10; |
| 282 |
export def DW_OP_consts: u8 = 0x11; |
| 283 |
export def DW_OP_dup: u8 = 0x12; |
| 284 |
export def DW_OP_drop: u8 = 0x13; |
| 285 |
export def DW_OP_over: u8 = 0x14; |
| 286 |
export def DW_OP_pick: u8 = 0x15; |
| 287 |
export def DW_OP_swap: u8 = 0x16; |
| 288 |
export def DW_OP_rot: u8 = 0x17; |
| 289 |
export def DW_OP_xdref: u8 = 0x18; |
| 290 |
export def DW_OP_abs: u8 = 0x19; |
| 291 |
export def DW_OP_and: u8 = 0x1a; |
| 292 |
export def DW_OP_div: u8 = 0x1b; |
| 293 |
export def DW_OP_minus: u8 = 0x1c; |
| 294 |
export def DW_OP_mod: u8 = 0x1d; |
| 295 |
export def DW_OP_mul: u8 = 0x1e; |
| 296 |
export def DW_OP_neg: u8 = 0x1f; |
| 297 |
export def DW_OP_not: u8 = 0x20; |
| 298 |
export def DW_OP_or: u8 = 0x21; |
| 299 |
export def DW_OP_plus: u8 = 0x22; |
| 300 |
export def DW_OP_plus_uconst: u8 = 0x23; |
| 301 |
export def DW_OP_shl: u8 = 0x24; |
| 302 |
export def DW_OP_shr: u8 = 0x25; |
| 303 |
export def DW_OP_shra: u8 = 0x26; |
| 304 |
export def DW_OP_xor: u8 = 0x27; |
| 305 |
export def DW_OP_bra: u8 = 0x28; |
| 306 |
export def DW_OP_eq: u8 = 0x29; |
| 307 |
export def DW_OP_ge: u8 = 0x2a; |
| 308 |
export def DW_OP_gt: u8 = 0x2b; |
| 309 |
export def DW_OP_le: u8 = 0x2c; |
| 310 |
export def DW_OP_lt: u8 = 0x2d; |
| 311 |
export def DW_OP_ne: u8 = 0x2e; |
| 312 |
export def DW_OP_skip: u8 = 0x2f; |
| 313 |
export def DW_OP_lit0: u8 = 0x30; |
| 314 |
export def DW_OP_lit1: u8 = 0x31; |
| 315 |
export def DW_OP_lit2: u8 = 0x32; |
| 316 |
export def DW_OP_lit3: u8 = 0x33; |
| 317 |
export def DW_OP_lit4: u8 = 0x34; |
| 318 |
export def DW_OP_lit5: u8 = 0x35; |
| 319 |
export def DW_OP_lit6: u8 = 0x36; |
| 320 |
export def DW_OP_lit7: u8 = 0x37; |
| 321 |
export def DW_OP_lit8: u8 = 0x38; |
| 322 |
export def DW_OP_lit9: u8 = 0x39; |
| 323 |
export def DW_OP_lit10: u8 = 0x3a; |
| 324 |
export def DW_OP_lit11: u8 = 0x3b; |
| 325 |
export def DW_OP_lit12: u8 = 0x3c; |
| 326 |
export def DW_OP_lit13: u8 = 0x3d; |
| 327 |
export def DW_OP_lit14: u8 = 0x3e; |
| 328 |
export def DW_OP_lit15: u8 = 0x3f; |
| 329 |
export def DW_OP_lit16: u8 = 0x40; |
| 330 |
export def DW_OP_lit17: u8 = 0x41; |
| 331 |
export def DW_OP_lit18: u8 = 0x42; |
| 332 |
export def DW_OP_lit19: u8 = 0x43; |
| 333 |
export def DW_OP_lit20: u8 = 0x44; |
| 334 |
export def DW_OP_lit21: u8 = 0x45; |
| 335 |
export def DW_OP_lit22: u8 = 0x46; |
| 336 |
export def DW_OP_lit23: u8 = 0x47; |
| 337 |
export def DW_OP_lit24: u8 = 0x48; |
| 338 |
export def DW_OP_lit25: u8 = 0x49; |
| 339 |
export def DW_OP_lit26: u8 = 0x4a; |
| 340 |
export def DW_OP_lit27: u8 = 0x4b; |
| 341 |
export def DW_OP_lit28: u8 = 0x4c; |
| 342 |
export def DW_OP_lit29: u8 = 0x4d; |
| 343 |
export def DW_OP_lit30: u8 = 0x4e; |
| 344 |
export def DW_OP_lit31: u8 = 0x4f; |
| 345 |
export def DW_OP_reg0: u8 = 0x50; |
| 346 |
export def DW_OP_reg1: u8 = 0x51; |
| 347 |
export def DW_OP_reg2: u8 = 0x52; |
| 348 |
export def DW_OP_reg3: u8 = 0x53; |
| 349 |
export def DW_OP_reg4: u8 = 0x54; |
| 350 |
export def DW_OP_reg5: u8 = 0x55; |
| 351 |
export def DW_OP_reg6: u8 = 0x56; |
| 352 |
export def DW_OP_reg7: u8 = 0x57; |
| 353 |
export def DW_OP_reg8: u8 = 0x58; |
| 354 |
export def DW_OP_reg9: u8 = 0x59; |
| 355 |
export def DW_OP_reg10: u8 = 0x5a; |
| 356 |
export def DW_OP_reg11: u8 = 0x5b; |
| 357 |
export def DW_OP_reg12: u8 = 0x5c; |
| 358 |
export def DW_OP_reg13: u8 = 0x5d; |
| 359 |
export def DW_OP_reg14: u8 = 0x5e; |
| 360 |
export def DW_OP_reg15: u8 = 0x5f; |
| 361 |
export def DW_OP_reg16: u8 = 0x60; |
| 362 |
export def DW_OP_reg17: u8 = 0x61; |
| 363 |
export def DW_OP_reg18: u8 = 0x62; |
| 364 |
export def DW_OP_reg19: u8 = 0x63; |
| 365 |
export def DW_OP_reg20: u8 = 0x64; |
| 366 |
export def DW_OP_reg21: u8 = 0x65; |
| 367 |
export def DW_OP_reg22: u8 = 0x66; |
| 368 |
export def DW_OP_reg23: u8 = 0x67; |
| 369 |
export def DW_OP_reg24: u8 = 0x68; |
| 370 |
export def DW_OP_reg25: u8 = 0x69; |
| 371 |
export def DW_OP_reg26: u8 = 0x6a; |
| 372 |
export def DW_OP_reg27: u8 = 0x6b; |
| 373 |
export def DW_OP_reg28: u8 = 0x6c; |
| 374 |
export def DW_OP_reg29: u8 = 0x6d; |
| 375 |
export def DW_OP_reg30: u8 = 0x6e; |
| 376 |
export def DW_OP_reg31: u8 = 0x6f; |
| 377 |
export def DW_OP_breg0: u8 = 0x70; |
| 378 |
export def DW_OP_breg1: u8 = 0x71; |
| 379 |
export def DW_OP_breg2: u8 = 0x72; |
| 380 |
export def DW_OP_breg3: u8 = 0x73; |
| 381 |
export def DW_OP_breg4: u8 = 0x74; |
| 382 |
export def DW_OP_breg5: u8 = 0x75; |
| 383 |
export def DW_OP_breg6: u8 = 0x76; |
| 384 |
export def DW_OP_breg7: u8 = 0x77; |
| 385 |
export def DW_OP_breg8: u8 = 0x78; |
| 386 |
export def DW_OP_breg9: u8 = 0x79; |
| 387 |
export def DW_OP_breg10: u8 = 0x7a; |
| 388 |
export def DW_OP_breg11: u8 = 0x7b; |
| 389 |
export def DW_OP_breg12: u8 = 0x7c; |
| 390 |
export def DW_OP_breg13: u8 = 0x7d; |
| 391 |
export def DW_OP_breg14: u8 = 0x7e; |
| 392 |
export def DW_OP_breg15: u8 = 0x7f; |
| 393 |
export def DW_OP_breg16: u8 = 0x80; |
| 394 |
export def DW_OP_breg17: u8 = 0x81; |
| 395 |
export def DW_OP_breg18: u8 = 0x82; |
| 396 |
export def DW_OP_breg19: u8 = 0x83; |
| 397 |
export def DW_OP_breg20: u8 = 0x84; |
| 398 |
export def DW_OP_breg21: u8 = 0x85; |
| 399 |
export def DW_OP_breg22: u8 = 0x86; |
| 400 |
export def DW_OP_breg23: u8 = 0x87; |
| 401 |
export def DW_OP_breg24: u8 = 0x88; |
| 402 |
export def DW_OP_breg25: u8 = 0x89; |
| 403 |
export def DW_OP_breg26: u8 = 0x8a; |
| 404 |
export def DW_OP_breg27: u8 = 0x8b; |
| 405 |
export def DW_OP_breg28: u8 = 0x8c; |
| 406 |
export def DW_OP_breg29: u8 = 0x8d; |
| 407 |
export def DW_OP_breg30: u8 = 0x8e; |
| 408 |
export def DW_OP_breg31: u8 = 0x8f; |
| 409 |
export def DW_OP_regx: u8 = 0x90; |
| 410 |
export def DW_OP_fbreg: u8 = 0x91; |
| 411 |
export def DW_OP_bregx: u8 = 0x92; |
| 412 |
export def DW_OP_piece: u8 = 0x93; |
| 413 |
export def DW_OP_dref_size: u8 = 0x94; |
| 414 |
export def DW_OP_xdref_size: u8 = 0x95; |
| 415 |
export def DW_OP_nop: u8 = 0x96; |
| 416 |
export def DW_OP_push_object_address: u8 = 0x97; |
| 417 |
export def DW_OP_call2: u8 = 0x98; |
| 418 |
export def DW_OP_call4: u8 = 0x99; |
| 419 |
export def DW_OP_call_ref: u8 = 0x9a; |
| 420 |
export def DW_OP_form_tls_address: u8 = 0x9b; |
| 421 |
export def DW_OP_call_frame_cfa: u8 = 0x9c; |
| 422 |
export def DW_OP_bit_piece: u8 = 0x9d; |
| 423 |
export def DW_OP_implicit_value: u8 = 0x9e; |
| 424 |
export def DW_OP_stack_value: u8 = 0x9f; |
| 425 |
export def DW_OP_implicit_pointer: u8 = 0xa0; |
| 426 |
export def DW_OP_addrx: u8 = 0xa1; |
| 427 |
export def DW_OP_constx: u8 = 0xa2; |
| 428 |
export def DW_OP_entry_value: u8 = 0xa3; |
| 429 |
export def DW_OP_const_type: u8 = 0xa4; |
| 430 |
export def DW_OP_regval_type: u8 = 0xa5; |
| 431 |
export def DW_OP_deref_type: u8 = 0xa6; |
| 432 |
export def DW_OP_xdref_type: u8 = 0xa7; |
| 433 |
export def DW_OP_convert: u8 = 0xa8; |
| 434 |
export def DW_OP_reinterpret: u8 = 0xa9; |
| 435 |
export def DW_OP_lo_user: u8 = 0xe0; |
| 436 |
export def DW_OP_hi_user: u8 = 0xff; |
| 437 |
|
| 438 |
export def DW_LLE_end_of_list: u8 = 0x00; |
| 439 |
export def DW_LLE_base_addressx: u8 = 0x01; |
| 440 |
export def DW_LLE_startx_endx: u8 = 0x02; |
| 441 |
export def DW_LLE_startx_length: u8 = 0x03; |
| 442 |
export def DW_LLE_offset_pair: u8 = 0x04; |
| 443 |
export def DW_LLE_default_location: u8 = 0x05; |
| 444 |
export def DW_LLE_base_address: u8 = 0x06; |
| 445 |
export def DW_LLE_start_end: u8 = 0x07; |
| 446 |
export def DW_LLE_start_length: u8 = 0x08; |
| 447 |
|
| 448 |
export def DW_ATE_address: u8 = 0x01; |
| 449 |
export def DW_ATE_boolean: u8 = 0x02; |
| 450 |
export def DW_ATE_complex_float: u8 = 0x03; |
| 451 |
export def DW_ATE_float: u8 = 0x04; |
| 452 |
export def DW_ATE_signed: u8 = 0x05; |
| 453 |
export def DW_ATE_signed_char: u8 = 0x06; |
| 454 |
export def DW_ATE_unsigned: u8 = 0x07; |
| 455 |
export def DW_ATE_unsigned_char: u8 = 0x08; |
| 456 |
export def DW_ATE_imaginary_float: u8 = 0x09; |
| 457 |
export def DW_ATE_packed_decimal: u8 = 0x0a; |
| 458 |
export def DW_ATE_numeric_string: u8 = 0x0b; |
| 459 |
export def DW_ATE_edited: u8 = 0x0c; |
| 460 |
export def DW_ATE_signed_fixed: u8 = 0x0d; |
| 461 |
export def DW_ATE_unsigned_fixed: u8 = 0x0e; |
| 462 |
export def DW_ATE_decimal_float: u8 = 0x0f; |
| 463 |
export def DW_ATE_UTF: u8 = 0x10; |
| 464 |
export def DW_ATE_UCS: u8 = 0x11; |
| 465 |
export def DW_ATE_ASCII: u8 = 0x12; |
| 466 |
export def DW_ATE_lo_user: u8 = 0x80; |
| 467 |
export def DW_ATE_hi_user: u8 = 0xff; |
| 468 |
|
| 469 |
export def DW_DS_unsigned: u8 = 0x01; |
| 470 |
export def DW_DS_leading_overpunch: u8 = 0x02; |
| 471 |
export def DW_DS_trailing_overpunch: u8 = 0x03; |
| 472 |
export def DW_DS_leading_separate: u8 = 0x04; |
| 473 |
export def DW_DS_trailing_separate: u8 = 0x05; |
| 474 |
|
| 475 |
export def DW_END_default: u8 = 0x00; |
| 476 |
export def DW_END_big: u8 = 0x01; |
| 477 |
export def DW_END_little: u8 = 0x02; |
| 478 |
export def DW_END_lo_user: u8 = 0x40; |
| 479 |
export def DW_END_hi_user: u8 = 0xff; |
| 480 |
|
| 481 |
export def DW_ACCESS_public: u8 = 0x01; |
| 482 |
export def DW_ACCESS_protected: u8 = 0x02; |
| 483 |
export def DW_ACCESS_private: u8 = 0x03; |
| 484 |
|
| 485 |
export def DW_VIS_local: u8 = 0x01; |
| 486 |
export def DW_VIS_exported: u8 = 0x02; |
| 487 |
export def DW_VIS_qualified: u8 = 0x03; |
| 488 |
|
| 489 |
export def DW_VIRTUALITY_none: u8 = 0x00; |
| 490 |
export def DW_VIRTUALITY_virtual: u8 = 0x01; |
| 491 |
export def DW_VIRTUALITY_pure_virtual: u8 = 0x02; |
| 492 |
|
| 493 |
export def DW_LANG_C89: u16 = 0x0001; |
| 494 |
export def DW_LANG_C: u16 = 0x0002; |
| 495 |
export def DW_LANG_Ada83: u16 = 0x0003; |
| 496 |
export def DW_LANG_C_plus_plus: u16 = 0x0004; |
| 497 |
export def DW_LANG_Cobol74: u16 = 0x0005; |
| 498 |
export def DW_LANG_Cobol85: u16 = 0x0006; |
| 499 |
export def DW_LANG_Fortran77: u16 = 0x0007; |
| 500 |
export def DW_LANG_Fortran90: u16 = 0x0008; |
| 501 |
export def DW_LANG_Pascal83: u16 = 0x0009; |
| 502 |
export def DW_LANG_Modula2: u16 = 0x000a; |
| 503 |
export def DW_LANG_Java: u16 = 0x000b; |
| 504 |
export def DW_LANG_C99: u16 = 0x000c; |
| 505 |
export def DW_LANG_Ada95: u16 = 0x000d; |
| 506 |
export def DW_LANG_Fortran95: u16 = 0x000e; |
| 507 |
export def DW_LANG_PLI: u16 = 0x000f; |
| 508 |
export def DW_LANG_ObjC: u16 = 0x0010; |
| 509 |
export def DW_LANG_ObjC_plus_plus: u16 = 0x0011; |
| 510 |
export def DW_LANG_UPC: u16 = 0x0012; |
| 511 |
export def DW_LANG_D: u16 = 0x0013; |
| 512 |
export def DW_LANG_Python: u16 = 0x0014; |
| 513 |
export def DW_LANG_OpenCL: u16 = 0x0015; |
| 514 |
export def DW_LANG_Go: u16 = 0x0016; |
| 515 |
export def DW_LANG_Modula3: u16 = 0x0017; |
| 516 |
export def DW_LANG_Haskell: u16 = 0x0018; |
| 517 |
export def DW_LANG_C_plus_plus_03: u16 = 0x0019; |
| 518 |
export def DW_LANG_C_plus_plus_11: u16 = 0x001a; |
| 519 |
export def DW_LANG_OCaml: u16 = 0x001b; |
| 520 |
export def DW_LANG_Rust: u16 = 0x001c; |
| 521 |
export def DW_LANG_c11: u16 = 0x001d; |
| 522 |
export def DW_LANG_Swift: u16 = 0x001e; |
| 523 |
export def DW_LANG_Julia: u16 = 0x001f; |
| 524 |
export def DW_LANG_Dylan: u16 = 0x0020; |
| 525 |
export def DW_LANG_C_plus_plus_14: u16 = 0x0021; |
| 526 |
export def DW_LANG_Fortran03: u16 = 0x0022; |
| 527 |
export def DW_LANG_Fortran08: u16 = 0x0023; |
| 528 |
export def DW_LANG_RenderScript: u16 = 0x0024; |
| 529 |
export def DW_LANG_BLISS: u16 = 0x0025; |
| 530 |
export def DW_LANG_lo_user: u16 = 0x8000; |
| 531 |
export def DW_LANG_hi_user: u16 = 0xffff; |
| 532 |
|
| 533 |
export def DW_ADDR_none: uint = 0; |
| 534 |
|
| 535 |
export def DW_ID_case_sensitive: u8 = 0x00; |
| 536 |
export def DW_ID_up_case: u8 = 0x01; |
| 537 |
export def DW_ID_down_case: u8 = 0x02; |
| 538 |
export def DW_ID_case_insensitive: u8 = 0x03; |
| 539 |
|
| 540 |
export def DW_CC_normal: u8 = 0x01; |
| 541 |
export def DW_CC_program: u8 = 0x02; |
| 542 |
export def DW_CC_nocall: u8 = 0x03; |
| 543 |
export def DW_CC_pass_by_reference: u8 = 0x04; |
| 544 |
export def DW_CC_pass_by_value: u8 = 0x05; |
| 545 |
export def DW_CC_lo_user: u8 = 0x40; |
| 546 |
export def DW_CC_hi_user: u8 = 0xff; |
| 547 |
|
| 548 |
export def DW_INL_not_inlined: u8 = 0x00; |
| 549 |
export def DW_INL_inlined: u8 = 0x01; |
| 550 |
export def DW_INL_declared_not_inlined: u8 = 0x02; |
| 551 |
export def DW_INL_declared_inlined: u8 = 0x03; |
| 552 |
|
| 553 |
export def DW_ORD_row_major: u8 = 0x00; |
| 554 |
export def DW_ORD_col_major: u8 = 0x01; |
| 555 |
|
| 556 |
export def DW_DSC_label: u8 = 0x00; |
| 557 |
export def DW_DSC_range: u8 = 0x01; |
| 558 |
|
| 559 |
export def DW_IDX_compile_unit: u16 = 0x01; |
| 560 |
export def DW_IDX_type_unit: u16 = 0x02; |
| 561 |
export def DW_IDX_die_offset: u16 = 0x03; |
| 562 |
export def DW_IDX_parent: u16 = 0x04; |
| 563 |
export def DW_IDX_type_hash: u16 = 0x05; |
| 564 |
export def DW_IDX_lo_user: u16 = 0x2000; |
| 565 |
export def DW_IDX_hi_user: u16 = 0x3fff; |
| 566 |
|
| 567 |
export def DW_DEFAULTED_no: u8 = 0x00; |
| 568 |
export def DW_DEFAULTED_in_class: u8 = 0x01; |
| 569 |
export def DW_DEFAULTED_out_of_class: u8 = 0x02; |
| 570 |
|
| 571 |
export def DW_LNS_copy: u8 = 0x01; |
| 572 |
export def DW_LNS_advance_pc: u8 = 0x02; |
| 573 |
export def DW_LNS_advance_line: u8 = 0x03; |
| 574 |
export def DW_LNS_set_file: u8 = 0x04; |
| 575 |
export def DW_LNS_set_column: u8 = 0x05; |
| 576 |
export def DW_LNS_negate_stmt: u8 = 0x06; |
| 577 |
export def DW_LNS_set_basic_block: u8 = 0x07; |
| 578 |
export def DW_LNS_const_add_pc: u8 = 0x08; |
| 579 |
export def DW_LNS_fixed_advance_pc: u8 = 0x09; |
| 580 |
export def DW_LNS_set_prologue_end: u8 = 0x0a; |
| 581 |
export def DW_LNS_set_epilogue_begin: u8 = 0x0b; |
| 582 |
export def DW_LNS_isa: u8 = 0x0c; |
| 583 |
|
| 584 |
export def DW_LNE_end_sequence: u8 = 0x01; |
| 585 |
export def DW_LNE_set_address: u8 = 0x02; |
| 586 |
export def DW_LNE_define_file: u8 = 0x03; |
| 587 |
export def DW_LNE_set_discriminator: u8 = 0x04; |
| 588 |
export def DW_LNE_lo_user: u8 = 0x80; |
| 589 |
export def DW_LNE_hi_user: u8 = 0xff; |
| 590 |
|
| 591 |
export def DW_LNCT_path: u16 = 0x01; |
| 592 |
export def DW_LNCT_directory_index: u16 = 0x02; |
| 593 |
export def DW_LNCT_timestamp: u16 = 0x03; |
| 594 |
export def DW_LNCT_size: u16 = 0x04; |
| 595 |
export def DW_LNCT_MD5: u16 = 0x05; |
| 596 |
export def DW_LNCT_lo_user: u16 = 0x2000; |
| 597 |
export def DW_LNCT_hi_user: u16 = 0x3ff; |
| 598 |
|
| 599 |
export def DW_MACRO_define: u8 = 0x01; |
| 600 |
export def DW_MACRO_undef: u8 = 0x02; |
| 601 |
export def DW_MACRO_start_file: u8 = 0x03; |
| 602 |
export def DW_MACRO_end_file: u8 = 0x04; |
| 603 |
export def DW_MACRO_define_strp: u8 = 0x05; |
| 604 |
export def DW_MACRO_undef_strp: u8 = 0x06; |
| 605 |
export def DW_MACRO_import: u8 = 0x07; |
| 606 |
export def DW_MACRO_define_sup: u8 = 0x08; |
| 607 |
export def DW_MACRO_undef_sup: u8 = 0x09; |
| 608 |
export def DW_MACRO_import_sup: u8 = 0x0a; |
| 609 |
export def DW_MACRO_define_strx: u8 = 0x0b; |
| 610 |
export def DW_MACRO_undef_strx: u8 = 0x0c; |
| 611 |
export def DW_MACRO_lo_user: u8 = 0xe0; |
| 612 |
export def DW_MACRO_hi_user: u8 = 0xff; |
| 613 |
|
| 614 |
// The following instructions are omitted: |
| 615 |
// DW_CFA_advance_loc |
| 616 |
// DW_CFA_offset |
| 617 |
// DW_CFA_restore |
| 618 |
export def DW_CFA_nop: u8 = 0x00; |
| 619 |
export def DW_CFA_set_loc: u8 = 0x01; |
| 620 |
export def DW_CFA_advance_loc1: u8 = 0x02; |
| 621 |
export def DW_CFA_advance_loc2: u8 = 0x03; |
| 622 |
export def DW_CFA_advance_loc3: u8 = 0x04; |
| 623 |
export def DW_CFA_offset_extended: u8 = 0x05; |
| 624 |
export def DW_CFA_restore_extended: u8 = 0x06; |
| 625 |
export def DW_CFA_undefined: u8 = 0x07; |
| 626 |
export def DW_CFA_same_value: u8 = 0x08; |
| 627 |
export def DW_CFA_register: u8 = 0x09; |
| 628 |
export def DW_CFA_remember_state: u8 = 0x0a; |
| 629 |
export def DW_CFA_restore_state: u8 = 0x0b; |
| 630 |
export def DW_CFA_def_cfa: u8 = 0x0c; |
| 631 |
export def DW_CFA_def_cfa_register: u8 = 0x0d; |
| 632 |
export def DW_CFA_def_cfa_offset: u8 = 0x0e; |
| 633 |
export def DW_CFA_def_cfa_expression: u8 = 0x0f; |
| 634 |
export def DW_CFA_expression: u8 = 0x10; |
| 635 |
export def DW_CFA_offset_extended_sf: u8 = 0x11; |
| 636 |
export def DW_CFA_def_cfa_sf: u8 = 0x12; |
| 637 |
export def DW_CFA_def_cfa_offset_sf: u8 = 0x13; |
| 638 |
export def DW_CFA_val_offset: u8 = 0x14; |
| 639 |
export def DW_CFA_val_offset_sf: u8 = 0x15; |
| 640 |
export def DW_CFA_val_expression: u8 = 0x16; |
| 641 |
export def DW_CFA_lo_user: u8 = 0x1c; |
| 642 |
export def DW_CFA_hi_user: u8 = 0x3f; |
| 643 |
|
| 644 |
export def DW_RLE_end_of_list: u8 = 0x00; |
| 645 |
export def DW_RLE_base_addressx: u8 = 0x01; |
| 646 |
export def DW_RLE_startx_endx: u8 = 0x02; |
| 647 |
export def DW_RLE_startx_length: u8 = 0x03; |
| 648 |
export def DW_RLE_offset_pair: u8 = 0x04; |
| 649 |
export def DW_RLE_base_address: u8 = 0x05; |
| 650 |
export def DW_RLE_start_end: u8 = 0x06; |
| 651 |
export def DW_RLE_start_length: u8 = 0x07; |