llvm.org GIT mirror llvm / f59c532
Update Dwarf enums list for DWARF 4. Note that DW_TAG_rvalue_reference_type is officially 0x42, not 0x41. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139779 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 8 years ago
2 changed file(s) with 33 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
118118 DW_TAG_imported_unit = 0x3d,
119119 DW_TAG_condition = 0x3f,
120120 DW_TAG_shared_type = 0x40,
121 DW_TAG_rvalue_reference_type = 0x41,
121 DW_TAG_type_unit = 0x41,
122 DW_TAG_rvalue_reference_type = 0x42,
123 DW_TAG_template_alias = 0x43,
122124 DW_TAG_lo_user = 0x4080,
123125 DW_TAG_hi_user = 0xffff,
124126
213215 DW_AT_elemental = 0x66,
214216 DW_AT_pure = 0x67,
215217 DW_AT_recursive = 0x68,
218 DW_AT_signature = 0x69,
219 DW_AT_main_subprogram = 0x6a,
220 DW_AT_data_bit_offset = 0x6b,
221 DW_AT_const_expr = 0x6c,
222 DW_AT_enum_class = 0x6d,
223 DW_AT_linkage_name = 0x6e,
216224 DW_AT_MIPS_linkage_name = 0x2007,
217225 DW_AT_sf_names = 0x2101,
218226 DW_AT_src_info = 0x2102,
260268 DW_FORM_ref8 = 0x14,
261269 DW_FORM_ref_udata = 0x15,
262270 DW_FORM_indirect = 0x16,
271 DW_FORM_sec_offset = 0x17,
272 DW_FORM_exprloc = 0x18,
273 DW_FORM_flag_present = 0x19,
274 DW_FORM_ref_sig8 = 0x20,
263275
264276 // Operation encodings
265277 DW_OP_addr = 0x03,
414426 DW_OP_form_tls_address = 0x9b,
415427 DW_OP_call_frame_cfa = 0x9c,
416428 DW_OP_bit_piece = 0x9d,
429 DW_OP_implicit_value = 0x9e,
430 DW_OP_stack_value = 0x9f,
417431 DW_OP_lo_user = 0xe0,
418432 DW_OP_hi_user = 0xff,
419433
486500 DW_LANG_ObjC_plus_plus = 0x0011,
487501 DW_LANG_UPC = 0x0012,
488502 DW_LANG_D = 0x0013,
503 DW_LANG_Python = 0x0014,
489504 DW_LANG_lo_user = 0x8000,
490505 DW_LANG_hi_user = 0xffff,
491506
535550 DW_LNE_end_sequence = 0x01,
536551 DW_LNE_set_address = 0x02,
537552 DW_LNE_define_file = 0x03,
553 DW_LNE_set_discriminator = 0x04,
538554 DW_LNE_lo_user = 0x80,
539555 DW_LNE_hi_user = 0xff,
540556
8181 case DW_TAG_arg_variable: return "DW_TAG_arg_variable";
8282 case DW_TAG_return_variable: return "DW_TAG_return_variable";
8383 case DW_TAG_vector_type: return "DW_TAG_vector_type";
84 case DW_TAG_rvalue_reference_type: return "DW_TAG_rvalue_reference_type";
85 case DW_TAG_template_alias: return "DW_TAG_template_alias";
86 case DW_TAG_type_unit: return "DW_TAG_type_unit";
8487 }
8588 return 0;
8689 }
185188 case DW_AT_elemental: return "DW_AT_elemental";
186189 case DW_AT_pure: return "DW_AT_pure";
187190 case DW_AT_recursive: return "DW_AT_recursive";
191 case DW_AT_signature: return "DW_AT_signature";
192 case DW_AT_main_subprogram: return "DW_AT_main_subprogram";
193 case DW_AT_data_bit_offset: return "DW_AT_data_bit_offset";
194 case DW_AT_const_expr: return "DW_AT_const_expr";
195 case DW_AT_enum_class: return "DW_AT_enum_class";
196 case DW_AT_linkage_name: return "DW_AT_linkage_name";
188197 case DW_AT_MIPS_linkage_name: return "DW_AT_MIPS_linkage_name";
189198 case DW_AT_sf_names: return "DW_AT_sf_names";
190199 case DW_AT_src_info: return "DW_AT_src_info";
236245 case DW_FORM_ref8: return "DW_FORM_ref8";
237246 case DW_FORM_ref_udata: return "DW_FORM_ref_udata";
238247 case DW_FORM_indirect: return "DW_FORM_indirect";
248 case DW_FORM_sec_offset: return "DW_FORM_sec_offset";
249 case DW_FORM_exprloc: return "DW_FORM_exprloc";
250 case DW_FORM_flag_present: return "DW_FORM_flag_present";
251 case DW_FORM_ref_sig8: return "DW_FORM_ref_sig8";
239252 }
240253 return 0;
241254 }
396409 case DW_OP_form_tls_address: return "DW_OP_form_tls_address";
397410 case DW_OP_call_frame_cfa: return "DW_OP_call_frame_cfa";
398411 case DW_OP_bit_piece: return "DW_OP_bit_piece";
412 case DW_OP_implicit_value: return "DW_OP_implicit_value";
413 case DW_OP_stack_value: return "DW_OP_stack_value";
399414 case DW_OP_lo_user: return "DW_OP_lo_user";
400415 case DW_OP_hi_user: return "DW_OP_hi_user";
401416 }
602617 case DW_LNE_end_sequence: return "DW_LNE_end_sequence";
603618 case DW_LNE_set_address: return "DW_LNE_set_address";
604619 case DW_LNE_define_file: return "DW_LNE_define_file";
620 case DW_LNE_set_discriminator: return "DW_LNE_set_discriminator";
605621 case DW_LNE_lo_user: return "DW_LNE_lo_user";
606622 case DW_LNE_hi_user: return "DW_LNE_hi_user";
607623 }