Debian Codegraph @

tests/dwarf.py

raw
1 # Copyright (c) Meta Platforms, Inc. and affiliates.
2 # SPDX-License-Identifier: LGPL-2.1-or-later
3 # Generated by scripts/gen_dwarf_constants.py.
4
5 import enum
6
7
8 class DW_ACCESS(enum.IntEnum):
9 public = 0x1
10 protected = 0x2
11 private = 0x3
12
13
14 class DW_ADDR(enum.IntEnum):
15 none = 0x0
16 TI_PTR8 = 0x8
17 TI_PTR16 = 0x10
18 TI_PTR22 = 0x16
19 TI_PTR23 = 0x17
20 TI_PTR24 = 0x18
21 TI_PTR32 = 0x20
22
23
24 class DW_AT(enum.IntEnum):
25 sibling = 0x1
26 location = 0x2
27 name = 0x3 # type: ignore
28 ordering = 0x9
29 subscr_data = 0xA
30 byte_size = 0xB
31 bit_offset = 0xC
32 bit_size = 0xD
33 element_list = 0xF
34 stmt_list = 0x10
35 low_pc = 0x11
36 high_pc = 0x12
37 language = 0x13
38 member = 0x14
39 discr = 0x15
40 discr_value = 0x16
41 visibility = 0x17
42 import_ = 0x18
43 string_length = 0x19
44 common_reference = 0x1A
45 comp_dir = 0x1B
46 const_value = 0x1C
47 containing_type = 0x1D
48 default_value = 0x1E
49 inline = 0x20
50 is_optional = 0x21
51 lower_bound = 0x22
52 producer = 0x25
53 prototyped = 0x27
54 return_addr = 0x2A
55 start_scope = 0x2C
56 bit_stride = 0x2E
57 stride_size = 0x2E
58 upper_bound = 0x2F
59 abstract_origin = 0x31
60 accessibility = 0x32
61 address_class = 0x33
62 artificial = 0x34
63 base_types = 0x35
64 calling_convention = 0x36
65 count = 0x37
66 data_member_location = 0x38
67 decl_column = 0x39
68 decl_file = 0x3A
69 decl_line = 0x3B
70 declaration = 0x3C
71 discr_list = 0x3D
72 encoding = 0x3E
73 external = 0x3F
74 frame_base = 0x40
75 friend = 0x41
76 identifier_case = 0x42
77 macro_info = 0x43
78 namelist_item = 0x44
79 priority = 0x45
80 segment = 0x46
81 specification = 0x47
82 static_link = 0x48
83 type = 0x49
84 use_location = 0x4A
85 variable_parameter = 0x4B
86 virtuality = 0x4C
87 vtable_elem_location = 0x4D
88 allocated = 0x4E
89 associated = 0x4F
90 data_location = 0x50
91 byte_stride = 0x51
92 entry_pc = 0x52
93 use_UTF8 = 0x53
94 extension = 0x54
95 ranges = 0x55
96 trampoline = 0x56
97 call_column = 0x57
98 call_file = 0x58
99 call_line = 0x59
100 description = 0x5A
101 binary_scale = 0x5B
102 decimal_scale = 0x5C
103 small = 0x5D
104 decimal_sign = 0x5E
105 digit_count = 0x5F
106 picture_string = 0x60
107 mutable = 0x61
108 threads_scaled = 0x62
109 explicit = 0x63
110 object_pointer = 0x64
111 endianity = 0x65
112 elemental = 0x66
113 pure = 0x67
114 recursive = 0x68
115 signature = 0x69
116 main_subprogram = 0x6A
117 data_bit_offset = 0x6B
118 const_expr = 0x6C
119 enum_class = 0x6D
120 linkage_name = 0x6E
121 string_length_bit_size = 0x6F
122 string_length_byte_size = 0x70
123 rank = 0x71
124 str_offsets_base = 0x72
125 addr_base = 0x73
126 rnglists_base = 0x74
127 dwo_id = 0x75
128 dwo_name = 0x76
129 reference = 0x77
130 rvalue_reference = 0x78
131 macros = 0x79
132 call_all_calls = 0x7A
133 call_all_source_calls = 0x7B
134 call_all_tail_calls = 0x7C
135 call_return_pc = 0x7D
136 call_value = 0x7E
137 call_origin = 0x7F
138 call_parameter = 0x80
139 call_pc = 0x81
140 call_tail_call = 0x82
141 call_target = 0x83
142 call_target_clobbered = 0x84
143 call_data_location = 0x85
144 call_data_value = 0x86
145 noreturn = 0x87
146 alignment = 0x88
147 export_symbols = 0x89
148 deleted = 0x8A
149 defaulted = 0x8B
150 loclists_base = 0x8C
151 ghs_namespace_alias = 0x806
152 ghs_using_namespace = 0x807
153 ghs_using_declaration = 0x808
154 HP_block_index = 0x2000
155 lo_user = 0x2000
156 TI_veneer = 0x2000
157 MIPS_fde = 0x2001
158 TI_symbol_name = 0x2001
159 MIPS_loop_begin = 0x2002
160 MIPS_tail_loop_begin = 0x2003
161 MIPS_epilog_begin = 0x2004
162 MIPS_loop_unroll_factor = 0x2005
163 MIPS_software_pipeline_depth = 0x2006
164 MIPS_linkage_name = 0x2007
165 MIPS_stride = 0x2008
166 MIPS_abstract_name = 0x2009
167 MIPS_clone_origin = 0x200A
168 MIPS_has_inlines = 0x200B
169 TI_version = 0x200B
170 MIPS_stride_byte = 0x200C
171 TI_asm = 0x200C
172 MIPS_stride_elem = 0x200D
173 MIPS_ptr_dopetype = 0x200E
174 TI_skeletal = 0x200E
175 MIPS_allocatable_dopetype = 0x200F
176 MIPS_assumed_shape_dopetype = 0x2010
177 MIPS_assumed_size = 0x2011
178 TI_interrupt = 0x2011
179 HP_unmodifiable = 0x2001
180 HP_prologue = 0x2005
181 HP_epilogue = 0x2008
182 HP_actuals_stmt_list = 0x2010
183 HP_proc_per_section = 0x2011
184 HP_raw_data_ptr = 0x2012
185 HP_pass_by_reference = 0x2013
186 HP_opt_level = 0x2014
187 HP_prof_version_id = 0x2015
188 HP_opt_flags = 0x2016
189 HP_cold_region_low_pc = 0x2017
190 HP_cold_region_high_pc = 0x2018
191 HP_all_variables_modifiable = 0x2019
192 HP_linkage_name = 0x201A
193 HP_prof_flags = 0x201B
194 HP_unit_name = 0x201F
195 HP_unit_size = 0x2020
196 HP_widened_byte_size = 0x2021
197 HP_definition_points = 0x2022
198 HP_default_location = 0x2023
199 HP_is_result_param = 0x2029
200 CPQ_discontig_ranges = 0x2001
201 CPQ_semantic_events = 0x2002
202 CPQ_split_lifetimes_var = 0x2003
203 CPQ_split_lifetimes_rtn = 0x2004
204 CPQ_prologue_length = 0x2005
205 ghs_mangled = 0x2007
206 ghs_rsm = 0x2083
207 ghs_frsm = 0x2085
208 ghs_frames = 0x2086
209 ghs_rso = 0x2087
210 ghs_subcpu = 0x2092
211 ghs_lbrace_line = 0x2093
212 INTEL_other_endian = 0x2026
213 sf_names = 0x2101
214 src_info = 0x2102
215 mac_info = 0x2103
216 src_coords = 0x2104
217 body_begin = 0x2105
218 body_end = 0x2106
219 GNU_vector = 0x2107
220 GNU_guarded_by = 0x2108
221 GNU_pt_guarded_by = 0x2109
222 GNU_guarded = 0x210A
223 GNU_pt_guarded = 0x210B
224 GNU_locks_excluded = 0x210C
225 GNU_exclusive_locks_required = 0x210D
226 GNU_shared_locks_required = 0x210E
227 GNU_odr_signature = 0x210F
228 GNU_template_name = 0x2110
229 GNU_call_site_value = 0x2111
230 GNU_call_site_data_value = 0x2112
231 GNU_call_site_target = 0x2113
232 GNU_call_site_target_clobbered = 0x2114
233 GNU_tail_call = 0x2115
234 GNU_all_tail_call_sites = 0x2116
235 GNU_all_call_sites = 0x2117
236 GNU_all_source_call_sites = 0x2118
237 GNU_macros = 0x2119
238 GNU_deleted = 0x211A
239 GNU_dwo_name = 0x2130
240 GNU_dwo_id = 0x2131
241 GNU_ranges_base = 0x2132
242 GNU_addr_base = 0x2133
243 GNU_pubnames = 0x2134
244 GNU_pubtypes = 0x2135
245 GNU_discriminator = 0x2136
246 GNU_locviews = 0x2137
247 GNU_entry_view = 0x2138
248 SUN_template = 0x2201
249 VMS_rtnbeg_pd_address = 0x2201
250 SUN_alignment = 0x2202
251 SUN_vtable = 0x2203
252 SUN_count_guarantee = 0x2204
253 SUN_command_line = 0x2205
254 SUN_vbase = 0x2206
255 SUN_compile_options = 0x2207
256 SUN_language = 0x2208
257 SUN_browser_file = 0x2209
258 SUN_vtable_abi = 0x2210
259 SUN_func_offsets = 0x2211
260 SUN_cf_kind = 0x2212
261 SUN_vtable_index = 0x2213
262 SUN_omp_tpriv_addr = 0x2214
263 SUN_omp_child_func = 0x2215
264 SUN_func_offset = 0x2216
265 SUN_memop_type_ref = 0x2217
266 SUN_profile_id = 0x2218
267 SUN_memop_signature = 0x2219
268 SUN_obj_dir = 0x2220
269 SUN_obj_file = 0x2221
270 SUN_original_name = 0x2222
271 SUN_hwcprof_signature = 0x2223
272 SUN_amd64_parmdump = 0x2224
273 SUN_part_link_name = 0x2225
274 SUN_link_name = 0x2226
275 SUN_pass_with_const = 0x2227
276 SUN_return_with_const = 0x2228
277 SUN_import_by_name = 0x2229
278 SUN_f90_pointer = 0x222A
279 SUN_pass_by_ref = 0x222B
280 SUN_f90_allocatable = 0x222C
281 SUN_f90_assumed_shape_array = 0x222D
282 SUN_c_vla = 0x222E
283 SUN_return_value_ptr = 0x2230
284 SUN_dtor_start = 0x2231
285 SUN_dtor_length = 0x2232
286 SUN_dtor_state_initial = 0x2233
287 SUN_dtor_state_final = 0x2234
288 SUN_dtor_state_deltas = 0x2235
289 SUN_import_by_lname = 0x2236
290 SUN_f90_use_only = 0x2237
291 SUN_namelist_spec = 0x2238
292 SUN_is_omp_child_func = 0x2239
293 SUN_fortran_main_alias = 0x223A
294 SUN_fortran_based = 0x223B
295 ALTIUM_loclist = 0x2300
296 use_GNAT_descriptive_type = 0x2301
297 GNAT_descriptive_type = 0x2302
298 GNU_numerator = 0x2303
299 GNU_denominator = 0x2304
300 GNU_bias = 0x2305
301 go_kind = 0x2900
302 go_key = 0x2901
303 go_elem = 0x2902
304 go_embedded_field = 0x2903
305 go_runtime_type = 0x2904
306 upc_threads_scaled = 0x3210
307 IBM_wsa_addr = 0x393E
308 IBM_home_location = 0x393F
309 IBM_alt_srcview = 0x3940
310 PGI_lbase = 0x3A00
311 PGI_soffset = 0x3A01
312 PGI_lstride = 0x3A02
313 BORLAND_property_read = 0x3B11
314 BORLAND_property_write = 0x3B12
315 BORLAND_property_implements = 0x3B13
316 BORLAND_property_index = 0x3B14
317 BORLAND_property_default = 0x3B15
318 BORLAND_Delphi_unit = 0x3B20
319 BORLAND_Delphi_class = 0x3B21
320 BORLAND_Delphi_record = 0x3B22
321 BORLAND_Delphi_metaclass = 0x3B23
322 BORLAND_Delphi_constructor = 0x3B24
323 BORLAND_Delphi_destructor = 0x3B25
324 BORLAND_Delphi_anonymous_method = 0x3B26
325 BORLAND_Delphi_interface = 0x3B27
326 BORLAND_Delphi_ABI = 0x3B28
327 BORLAND_Delphi_frameptr = 0x3B30
328 BORLAND_closure = 0x3B31
329 LLVM_include_path = 0x3E00
330 LLVM_config_macros = 0x3E01
331 LLVM_sysroot = 0x3E02
332 LLVM_tag_offset = 0x3E03
333 LLVM_apinotes = 0x3E07
334 LLVM_active_lane = 0x3E08
335 LLVM_augmentation = 0x3E09
336 LLVM_lanes = 0x3E0A
337 LLVM_lane_pc = 0x3E0B
338 LLVM_vector_size = 0x3E0C
339 APPLE_optimized = 0x3FE1
340 APPLE_flags = 0x3FE2
341 APPLE_isa = 0x3FE3
342 APPLE_block = 0x3FE4
343 APPLE_major_runtime_vers = 0x3FE5
344 APPLE_runtime_class = 0x3FE6
345 APPLE_omit_frame_ptr = 0x3FE7
346 APPLE_property_name = 0x3FE8
347 APPLE_property_getter = 0x3FE9
348 APPLE_property_setter = 0x3FEA
349 APPLE_property_attribute = 0x3FEB
350 APPLE_objc_complete_type = 0x3FEC
351 APPLE_property = 0x3FED
352 APPLE_objc_direct = 0x3FEE
353 APPLE_sdk = 0x3FEF
354 APPLE_origin = 0x3FF0
355 hi_user = 0x3FFF
356
357
358 class DW_ATE(enum.IntEnum):
359 address = 0x1
360 boolean = 0x2
361 complex_float = 0x3
362 float = 0x4
363 signed = 0x5
364 signed_char = 0x6
365 unsigned = 0x7
366 unsigned_char = 0x8
367 imaginary_float = 0x9
368 packed_decimal = 0xA
369 numeric_string = 0xB
370 edited = 0xC
371 signed_fixed = 0xD
372 unsigned_fixed = 0xE
373 decimal_float = 0xF
374 UTF = 0x10
375 UCS = 0x11
376 ASCII = 0x12
377 ALTIUM_fract = 0x80
378 lo_user = 0x80
379 ALTIUM_accum = 0x81
380 HP_float80 = 0x80
381 HP_complex_float80 = 0x81
382 HP_float128 = 0x82
383 HP_complex_float128 = 0x83
384 HP_floathpintel = 0x84
385 HP_imaginary_float80 = 0x85
386 HP_imaginary_float128 = 0x86
387 HP_VAX_float = 0x88
388 HP_VAX_float_d = 0x89
389 HP_packed_decimal = 0x8A
390 HP_zoned_decimal = 0x8B
391 HP_edited = 0x8C
392 HP_signed_fixed = 0x8D
393 HP_unsigned_fixed = 0x8E
394 HP_VAX_complex_float = 0x8F
395 HP_VAX_complex_float_d = 0x90
396 SUN_interval_float = 0x91
397 SUN_imaginary_float = 0x92
398 hi_user = 0xFF
399
400
401 class DW_CC(enum.IntEnum):
402 normal = 0x1
403 program = 0x2
404 nocall = 0x3
405 pass_by_reference = 0x4
406 pass_by_value = 0x5
407 GNU_renesas_sh = 0x40
408 lo_user = 0x40
409 GNU_borland_fastcall_i386 = 0x41
410 ALTIUM_interrupt = 0x65
411 ALTIUM_near_system_stack = 0x66
412 ALTIUM_near_user_stack = 0x67
413 ALTIUM_huge_user_stack = 0x68
414 GNU_BORLAND_safecall = 0xB0
415 GNU_BORLAND_stdcall = 0xB1
416 GNU_BORLAND_pascal = 0xB2
417 GNU_BORLAND_msfastcall = 0xB3
418 GNU_BORLAND_msreturn = 0xB4
419 GNU_BORLAND_thiscall = 0xB5
420 GNU_BORLAND_fastcall = 0xB6
421 LLVM_vectorcall = 0xC0
422 LLVM_Win64 = 0xC1
423 LLVM_X86_64SysV = 0xC2
424 LLVM_AAPCS = 0xC3
425 LLVM_AAPCS_VFP = 0xC4
426 LLVM_IntelOclBicc = 0xC5
427 LLVM_SpirFunction = 0xC6
428 LLVM_OpenCLKernel = 0xC7
429 LLVM_Swift = 0xC8
430 LLVM_PreserveMost = 0xC9
431 LLVM_PreserveAll = 0xCA
432 LLVM_X86RegCall = 0xCB
433 GDB_IBM_OpenCL = 0xFF
434 hi_user = 0xFF
435
436
437 class DW_CFA(enum.IntEnum):
438 advance_loc = 0x40
439 offset = 0x80
440 restore = 0xC0
441 nop = 0x0
442 set_loc = 0x1
443 advance_loc1 = 0x2
444 advance_loc2 = 0x3
445 advance_loc4 = 0x4
446 offset_extended = 0x5
447 restore_extended = 0x6
448 undefined = 0x7
449 same_value = 0x8
450 register = 0x9
451 remember_state = 0xA
452 restore_state = 0xB
453 def_cfa = 0xC
454 def_cfa_register = 0xD
455 def_cfa_offset = 0xE
456 def_cfa_expression = 0xF
457 expression = 0x10
458 offset_extended_sf = 0x11
459 def_cfa_sf = 0x12
460 def_cfa_offset_sf = 0x13
461 val_offset = 0x14
462 val_offset_sf = 0x15
463 val_expression = 0x16
464 TI_soffset_extended = 0x1C
465 lo_user = 0x1C
466 MIPS_advance_loc8 = 0x1D
467 TI_def_cfa_soffset = 0x1D
468 GNU_window_save = 0x2D
469 AARCH64_negate_ra_state = 0x2D
470 GNU_args_size = 0x2E
471 GNU_negative_offset_extended = 0x2F
472 LLVM_def_aspace_cfa = 0x30
473 LLVM_def_aspace_cfa_sf = 0x31
474 METAWARE_info = 0x34
475 hi_user = 0x3F
476
477
478 class DW_CHILDREN(enum.IntEnum):
479 no = 0x0
480 yes = 0x1
481
482
483 class DW_DEFAULTED(enum.IntEnum):
484 no = 0x0
485 in_class = 0x1
486 out_of_class = 0x2
487
488
489 class DW_DS(enum.IntEnum):
490 unsigned = 0x1
491 leading_overpunch = 0x2
492 trailing_overpunch = 0x3
493 leading_separate = 0x4
494 trailing_separate = 0x5
495
496
497 class DW_DSC(enum.IntEnum):
498 label = 0x0
499 range = 0x1
500
501
502 class DW_EH_PE(enum.IntEnum):
503 absptr = 0x0
504 uleb128 = 0x1
505 udata2 = 0x2
506 udata4 = 0x3
507 udata8 = 0x4
508 sleb128 = 0x9
509 sdata2 = 0xA
510 sdata4 = 0xB
511 sdata8 = 0xC
512 signed = 0x8
513 pcrel = 0x10
514 textrel = 0x20
515 datarel = 0x30
516 funcrel = 0x40
517 aligned = 0x50
518 indirect = 0x80
519 omit = 0xFF
520
521
522 class DW_END(enum.IntEnum):
523 default = 0x0
524 big = 0x1
525 little = 0x2
526 lo_user = 0x40
527 hi_user = 0xFF
528
529
530 class DW_FORM(enum.IntEnum):
531 addr = 0x1
532 block2 = 0x3
533 block4 = 0x4
534 data2 = 0x5
535 data4 = 0x6
536 data8 = 0x7
537 string = 0x8
538 block = 0x9
539 block1 = 0xA
540 data1 = 0xB
541 flag = 0xC
542 sdata = 0xD
543 strp = 0xE
544 udata = 0xF
545 ref_addr = 0x10
546 ref1 = 0x11
547 ref2 = 0x12
548 ref4 = 0x13
549 ref8 = 0x14
550 ref_udata = 0x15
551 indirect = 0x16
552 sec_offset = 0x17
553 exprloc = 0x18
554 flag_present = 0x19
555 strx = 0x1A
556 addrx = 0x1B
557 ref_sup4 = 0x1C
558 strp_sup = 0x1D
559 data16 = 0x1E
560 line_strp = 0x1F
561 ref_sig8 = 0x20
562 implicit_const = 0x21
563 loclistx = 0x22
564 rnglistx = 0x23
565 ref_sup8 = 0x24
566 strx1 = 0x25
567 strx2 = 0x26
568 strx3 = 0x27
569 strx4 = 0x28
570 addrx1 = 0x29
571 addrx2 = 0x2A
572 addrx3 = 0x2B
573 addrx4 = 0x2C
574 GNU_addr_index = 0x1F01
575 GNU_str_index = 0x1F02
576 GNU_ref_alt = 0x1F20
577 GNU_strp_alt = 0x1F21
578 LLVM_addrx_offset = 0x2001
579
580
581 class DW_ID(enum.IntEnum):
582 case_sensitive = 0x0
583 up_case = 0x1
584 down_case = 0x2
585 case_insensitive = 0x3
586
587
588 class DW_IDX(enum.IntEnum):
589 compile_unit = 0x1
590 type_unit = 0x2
591 die_offset = 0x3
592 parent = 0x4
593 type_hash = 0x5
594 GNU_internal = 0x2000
595 lo_user = 0x2000
596 GNU_external = 0x2001
597 GNU_main = 0x2002
598 GNU_language = 0x2003
599 GNU_linkage_name = 0x2004
600 hi_user = 0x3FFF
601
602
603 class DW_INL(enum.IntEnum):
604 not_inlined = 0x0
605 inlined = 0x1
606 declared_not_inlined = 0x2
607 declared_inlined = 0x3
608
609
610 class DW_LANG(enum.IntEnum):
611 C89 = 0x1
612 C = 0x2
613 Ada83 = 0x3
614 C_plus_plus = 0x4
615 Cobol74 = 0x5
616 Cobol85 = 0x6
617 Fortran77 = 0x7
618 Fortran90 = 0x8
619 Pascal83 = 0x9
620 Modula2 = 0xA
621 Java = 0xB
622 C99 = 0xC
623 Ada95 = 0xD
624 Fortran95 = 0xE
625 PLI = 0xF
626 ObjC = 0x10
627 ObjC_plus_plus = 0x11
628 UPC = 0x12
629 D = 0x13
630 Python = 0x14
631 OpenCL = 0x15
632 Go = 0x16
633 Modula3 = 0x17
634 Haskell = 0x18
635 C_plus_plus_03 = 0x19
636 C_plus_plus_11 = 0x1A
637 OCaml = 0x1B
638 Rust = 0x1C
639 C11 = 0x1D
640 Swift = 0x1E
641 Julia = 0x1F
642 Dylan = 0x20
643 C_plus_plus_14 = 0x21
644 Fortran03 = 0x22
645 Fortran08 = 0x23
646 RenderScript = 0x24
647 BLISS = 0x25
648 Kotlin = 0x26
649 Zig = 0x27
650 Crystal = 0x28
651 C_plus_plus_17 = 0x2A
652 C_plus_plus_20 = 0x2B
653 C17 = 0x2C
654 Fortran18 = 0x2D
655 Ada2005 = 0x2E
656 Ada2012 = 0x2F
657 HIP = 0x30
658 Assembly = 0x31
659 C_sharp = 0x32
660 Mojo = 0x33
661 GLSL = 0x34
662 GLSL_ES = 0x35
663 HLSL = 0x36
664 OpenCL_CPP = 0x37
665 CPP_for_OpenCL = 0x38
666 SYCL = 0x39
667 Ruby = 0x40
668 Move = 0x41
669 Hylo = 0x42
670 lo_user = 0x8000
671 Mips_Assembler = 0x8001
672 Upc = 0x8765
673 GOOGLE_RenderScript = 0x8E57
674 ALTIUM_Assembler = 0x9101
675 BORLAND_Delphi = 0xB000
676 SUN_Assembler = 0x9001
677 hi_user = 0xFFFF
678
679
680 class DW_LLE(enum.IntEnum):
681 end_of_list = 0x0
682 base_addressx = 0x1
683 startx_endx = 0x2
684 startx_length = 0x3
685 offset_pair = 0x4
686 default_location = 0x5
687 base_address = 0x6
688 start_end = 0x7
689 start_length = 0x8
690
691
692 class DW_LNCT(enum.IntEnum):
693 path = 0x1
694 directory_index = 0x2
695 timestamp = 0x3
696 size = 0x4
697 MD5 = 0x5
698 GNU_subprogram_name = 0x6
699 GNU_decl_file = 0x7
700 GNU_decl_line = 0x8
701 lo_user = 0x2000
702 LLVM_source = 0x2001
703 LLVM_is_MD5 = 0x2002
704 hi_user = 0x3FFF
705
706
707 class DW_LNE(enum.IntEnum):
708 end_sequence = 0x1
709 set_address = 0x2
710 define_file = 0x3
711 set_discriminator = 0x4
712 HP_negate_is_UV_update = 0x11
713 HP_push_context = 0x12
714 HP_pop_context = 0x13
715 HP_set_file_line_column = 0x14
716 HP_set_routine_name = 0x15
717 HP_set_sequence = 0x16
718 HP_negate_post_semantics = 0x17
719 HP_negate_function_exit = 0x18
720 HP_negate_front_end_logical = 0x19
721 HP_define_proc = 0x20
722 HP_source_file_correlation = 0x80
723 lo_user = 0x80
724 hi_user = 0xFF
725
726
727 class DW_LNS(enum.IntEnum):
728 copy = 0x1
729 advance_pc = 0x2
730 advance_line = 0x3
731 set_file = 0x4
732 set_column = 0x5
733 negate_stmt = 0x6
734 set_basic_block = 0x7
735 const_add_pc = 0x8
736 fixed_advance_pc = 0x9
737 set_prologue_end = 0xA
738 set_epilogue_begin = 0xB
739 set_isa = 0xC
740 set_address_from_logical = 0xD
741 set_subprogram = 0xD
742 inlined_call = 0xE
743 pop_context = 0xF
744
745
746 class DW_MACINFO(enum.IntEnum):
747 define = 0x1
748 undef = 0x2
749 start_file = 0x3
750 end_file = 0x4
751 vendor_ext = 0xFF
752
753
754 class DW_MACRO(enum.IntEnum):
755 define = 0x1
756 undef = 0x2
757 start_file = 0x3
758 end_file = 0x4
759 define_strp = 0x5
760 undef_strp = 0x6
761 import_ = 0x7
762 define_sup = 0x8
763 undef_sup = 0x9
764 import_sup = 0xA
765 define_strx = 0xB
766 undef_strx = 0xC
767 lo_user = 0xE0
768 hi_user = 0xFF
769
770
771 class DW_OP(enum.IntEnum):
772 addr = 0x3
773 deref = 0x6
774 const1u = 0x8
775 const1s = 0x9
776 const2u = 0xA
777 const2s = 0xB
778 const4u = 0xC
779 const4s = 0xD
780 const8u = 0xE
781 const8s = 0xF
782 constu = 0x10
783 consts = 0x11
784 dup = 0x12
785 drop = 0x13
786 over = 0x14
787 pick = 0x15
788 swap = 0x16
789 rot = 0x17
790 xderef = 0x18
791 abs = 0x19
792 and_ = 0x1A
793 div = 0x1B
794 minus = 0x1C
795 mod = 0x1D
796 mul = 0x1E
797 neg = 0x1F
798 not_ = 0x20
799 or_ = 0x21
800 plus = 0x22
801 plus_uconst = 0x23
802 shl = 0x24
803 shr = 0x25
804 shra = 0x26
805 xor = 0x27
806 bra = 0x28
807 eq = 0x29
808 ge = 0x2A
809 gt = 0x2B
810 le = 0x2C
811 lt = 0x2D
812 ne = 0x2E
813 skip = 0x2F
814 lit0 = 0x30
815 lit1 = 0x31
816 lit2 = 0x32
817 lit3 = 0x33
818 lit4 = 0x34
819 lit5 = 0x35
820 lit6 = 0x36
821 lit7 = 0x37
822 lit8 = 0x38
823 lit9 = 0x39
824 lit10 = 0x3A
825 lit11 = 0x3B
826 lit12 = 0x3C
827 lit13 = 0x3D
828 lit14 = 0x3E
829 lit15 = 0x3F
830 lit16 = 0x40
831 lit17 = 0x41
832 lit18 = 0x42
833 lit19 = 0x43
834 lit20 = 0x44
835 lit21 = 0x45
836 lit22 = 0x46
837 lit23 = 0x47
838 lit24 = 0x48
839 lit25 = 0x49
840 lit26 = 0x4A
841 lit27 = 0x4B
842 lit28 = 0x4C
843 lit29 = 0x4D
844 lit30 = 0x4E
845 lit31 = 0x4F
846 reg0 = 0x50
847 reg1 = 0x51
848 reg2 = 0x52
849 reg3 = 0x53
850 reg4 = 0x54
851 reg5 = 0x55
852 reg6 = 0x56
853 reg7 = 0x57
854 reg8 = 0x58
855 reg9 = 0x59
856 reg10 = 0x5A
857 reg11 = 0x5B
858 reg12 = 0x5C
859 reg13 = 0x5D
860 reg14 = 0x5E
861 reg15 = 0x5F
862 reg16 = 0x60
863 reg17 = 0x61
864 reg18 = 0x62
865 reg19 = 0x63
866 reg20 = 0x64
867 reg21 = 0x65
868 reg22 = 0x66
869 reg23 = 0x67
870 reg24 = 0x68
871 reg25 = 0x69
872 reg26 = 0x6A
873 reg27 = 0x6B
874 reg28 = 0x6C
875 reg29 = 0x6D
876 reg30 = 0x6E
877 reg31 = 0x6F
878 breg0 = 0x70
879 breg1 = 0x71
880 breg2 = 0x72
881 breg3 = 0x73
882 breg4 = 0x74
883 breg5 = 0x75
884 breg6 = 0x76
885 breg7 = 0x77
886 breg8 = 0x78
887 breg9 = 0x79
888 breg10 = 0x7A
889 breg11 = 0x7B
890 breg12 = 0x7C
891 breg13 = 0x7D
892 breg14 = 0x7E
893 breg15 = 0x7F
894 breg16 = 0x80
895 breg17 = 0x81
896 breg18 = 0x82
897 breg19 = 0x83
898 breg20 = 0x84
899 breg21 = 0x85
900 breg22 = 0x86
901 breg23 = 0x87
902 breg24 = 0x88
903 breg25 = 0x89
904 breg26 = 0x8A
905 breg27 = 0x8B
906 breg28 = 0x8C
907 breg29 = 0x8D
908 breg30 = 0x8E
909 breg31 = 0x8F
910 regx = 0x90
911 fbreg = 0x91
912 bregx = 0x92
913 piece = 0x93
914 deref_size = 0x94
915 xderef_size = 0x95
916 nop = 0x96
917 push_object_address = 0x97
918 call2 = 0x98
919 call4 = 0x99
920 call_ref = 0x9A
921 form_tls_address = 0x9B
922 call_frame_cfa = 0x9C
923 bit_piece = 0x9D
924 implicit_value = 0x9E
925 stack_value = 0x9F
926 implicit_pointer = 0xA0
927 addrx = 0xA1
928 constx = 0xA2
929 entry_value = 0xA3
930 const_type = 0xA4
931 regval_type = 0xA5
932 deref_type = 0xA6
933 xderef_type = 0xA7
934 convert = 0xA8
935 reinterpret = 0xA9
936 GNU_push_tls_address = 0xE0
937 WASM_location = 0xED
938 WASM_location_int = 0xEE
939 lo_user = 0xE0
940 LLVM_form_aspace_address = 0xE1
941 LLVM_push_lane = 0xE2
942 LLVM_offset = 0xE3
943 LLVM_offset_uconst = 0xE4
944 LLVM_bit_offset = 0xE5
945 LLVM_call_frame_entry_reg = 0xE6
946 LLVM_undefined = 0xE7
947 LLVM_aspace_bregx = 0xE8
948 LLVM_aspace_implicit_pointer = 0xE9
949 LLVM_piece_end = 0xEA
950 LLVM_extend = 0xEB
951 LLVM_select_bit_piece = 0xEC
952 HP_unknown = 0xE0
953 HP_is_value = 0xE1
954 HP_fltconst4 = 0xE2
955 HP_fltconst8 = 0xE3
956 HP_mod_range = 0xE4
957 HP_unmod_range = 0xE5
958 HP_tls = 0xE6
959 INTEL_bit_piece = 0xE8
960 GNU_uninit = 0xF0
961 APPLE_uninit = 0xF0
962 GNU_encoded_addr = 0xF1
963 GNU_implicit_pointer = 0xF2
964 GNU_entry_value = 0xF3
965 GNU_const_type = 0xF4
966 GNU_regval_type = 0xF5
967 GNU_deref_type = 0xF6
968 GNU_convert = 0xF7
969 GNU_reinterpret = 0xF9
970 GNU_parameter_ref = 0xFA
971 GNU_addr_index = 0xFB
972 GNU_const_index = 0xFC
973 GNU_variable_value = 0xFD
974 PGI_omp_thread_num = 0xF8
975 hi_user = 0xFF
976
977
978 class DW_ORD(enum.IntEnum):
979 row_major = 0x0
980 col_major = 0x1
981
982
983 class DW_RLE(enum.IntEnum):
984 end_of_list = 0x0
985 base_addressx = 0x1
986 startx_endx = 0x2
987 startx_length = 0x3
988 offset_pair = 0x4
989 base_address = 0x5
990 start_end = 0x6
991 start_length = 0x7
992
993
994 class DW_SECT(enum.IntEnum):
995 INFO = 0x1
996 TYPES = 0x2
997 ABBREV = 0x3
998 LINE = 0x4
999 LOCLISTS = 0x5
1000 STR_OFFSETS = 0x6
1001 MACRO = 0x7
1002 RNGLISTS = 0x8
1003
1004
1005 class DW_TAG(enum.IntEnum):
1006 array_type = 0x1
1007 class_type = 0x2
1008 entry_point = 0x3
1009 enumeration_type = 0x4
1010 formal_parameter = 0x5
1011 imported_declaration = 0x8
1012 label = 0xA
1013 lexical_block = 0xB
1014 member = 0xD
1015 pointer_type = 0xF
1016 reference_type = 0x10
1017 compile_unit = 0x11
1018 string_type = 0x12
1019 structure_type = 0x13
1020 subroutine_type = 0x15
1021 typedef = 0x16
1022 union_type = 0x17
1023 unspecified_parameters = 0x18
1024 variant = 0x19
1025 common_block = 0x1A
1026 common_inclusion = 0x1B
1027 inheritance = 0x1C
1028 inlined_subroutine = 0x1D
1029 module = 0x1E
1030 ptr_to_member_type = 0x1F
1031 set_type = 0x20
1032 subrange_type = 0x21
1033 with_stmt = 0x22
1034 access_declaration = 0x23
1035 base_type = 0x24
1036 catch_block = 0x25
1037 const_type = 0x26
1038 constant = 0x27
1039 enumerator = 0x28
1040 file_type = 0x29
1041 friend = 0x2A
1042 namelist = 0x2B
1043 namelist_item = 0x2C
1044 packed_type = 0x2D
1045 subprogram = 0x2E
1046 template_type_parameter = 0x2F
1047 template_value_parameter = 0x30
1048 thrown_type = 0x31
1049 try_block = 0x32
1050 variant_part = 0x33
1051 variable = 0x34
1052 volatile_type = 0x35
1053 dwarf_procedure = 0x36
1054 restrict_type = 0x37
1055 interface_type = 0x38
1056 namespace = 0x39
1057 imported_module = 0x3A
1058 unspecified_type = 0x3B
1059 partial_unit = 0x3C
1060 imported_unit = 0x3D
1061 mutable_type = 0x3E
1062 condition = 0x3F
1063 shared_type = 0x40
1064 type_unit = 0x41
1065 rvalue_reference_type = 0x42
1066 template_alias = 0x43
1067 coarray_type = 0x44
1068 generic_subrange = 0x45
1069 dynamic_type = 0x46
1070 atomic_type = 0x47
1071 call_site = 0x48
1072 call_site_parameter = 0x49
1073 skeleton_unit = 0x4A
1074 immutable_type = 0x4B
1075 TI_far_type = 0x4080
1076 lo_user = 0x4080
1077 MIPS_loop = 0x4081
1078 TI_near_type = 0x4081
1079 TI_assign_register = 0x4082
1080 TI_ioport_type = 0x4083
1081 TI_restrict_type = 0x4084
1082 TI_onchip_type = 0x4085
1083 HP_array_descriptor = 0x4090
1084 format_label = 0x4101
1085 function_template = 0x4102
1086 class_template = 0x4103
1087 GNU_BINCL = 0x4104
1088 GNU_EINCL = 0x4105
1089 GNU_template_template_param = 0x4106
1090 GNU_template_parameter_pack = 0x4107
1091 GNU_formal_parameter_pack = 0x4108
1092 GNU_call_site = 0x4109
1093 GNU_call_site_parameter = 0x410A
1094 SUN_function_template = 0x4201
1095 SUN_class_template = 0x4202
1096 SUN_struct_template = 0x4203
1097 SUN_union_template = 0x4204
1098 SUN_indirect_inheritance = 0x4205
1099 SUN_codeflags = 0x4206
1100 SUN_memop_info = 0x4207
1101 SUN_omp_child_func = 0x4208
1102 SUN_rtti_descriptor = 0x4209
1103 SUN_dtor_info = 0x420A
1104 SUN_dtor = 0x420B
1105 SUN_f90_interface = 0x420C
1106 SUN_fortran_vax_structure = 0x420D
1107 SUN_hi = 0x42FF
1108 ALTIUM_circ_type = 0x5101
1109 ALTIUM_mwa_circ_type = 0x5102
1110 ALTIUM_rev_carry_type = 0x5103
1111 ALTIUM_rom = 0x5111
1112 LLVM_annotation = 0x6000
1113 ghs_namespace = 0x8004
1114 ghs_using_namespace = 0x8005
1115 ghs_using_declaration = 0x8006
1116 ghs_template_templ_param = 0x8007
1117 upc_shared_type = 0x8765
1118 upc_strict_type = 0x8766
1119 upc_relaxed_type = 0x8767
1120 PGI_kanji_type = 0xA000
1121 PGI_interface_block = 0xA020
1122 BORLAND_property = 0xB000
1123 BORLAND_Delphi_string = 0xB001
1124 BORLAND_Delphi_dynamic_array = 0xB002
1125 BORLAND_Delphi_set = 0xB003
1126 BORLAND_Delphi_variant = 0xB004
1127 hi_user = 0xFFFF
1128
1129
1130 class DW_UT(enum.IntEnum):
1131 compile = 0x1
1132 type = 0x2
1133 partial = 0x3
1134 skeleton = 0x4
1135 split_compile = 0x5
1136 split_type = 0x6
1137 lo_user = 0x80
1138 hi_user = 0xFF
1139
1140
1141 class DW_VIRTUALITY(enum.IntEnum):
1142 none = 0x0
1143 virtual = 0x1
1144 pure_virtual = 0x2
1145
1146
1147 class DW_VIS(enum.IntEnum):
1148 local = 0x1
1149 exported = 0x2
1150 qualified = 0x3