llvm.org GIT mirror llvm / 3a4178e
Add some more DWARF extensions from: 1. http://gcc.gnu.org/wiki/TemplateParmsDwarf 2. ftp://ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139784 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 8 years ago
2 changed file(s) with 59 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
121121 DW_TAG_type_unit = 0x41,
122122 DW_TAG_rvalue_reference_type = 0x42,
123123 DW_TAG_template_alias = 0x43,
124 DW_TAG_MIPS_loop = 0x4081,
125 DW_TAG_format_label = 0x4101,
126 DW_TAG_function_template = 0x4102,
127 DW_TAG_class_template = 0x4103,
128 DW_TAG_GNU_template_template_param = 0x4106,
129 DW_TAG_GNU_template_parameter_pack = 0x4107,
130 DW_TAG_GNU_formal_parameter_pack = 0x4108,
124131 DW_TAG_lo_user = 0x4080,
125132 DW_TAG_hi_user = 0xffff,
126133
221228 DW_AT_const_expr = 0x6c,
222229 DW_AT_enum_class = 0x6d,
223230 DW_AT_linkage_name = 0x6e,
231 DW_AT_MIPS_loop_begin = 0x2002,
232 DW_AT_MIPS_tail_loop_begin = 0x2003,
233 DW_AT_MIPS_epilog_begin = 0x2004,
234 DW_AT_MIPS_loop_unroll_factor = 0x2005,
235 DW_AT_MIPS_software_pipeline_depth = 0x2006,
224236 DW_AT_MIPS_linkage_name = 0x2007,
225 DW_AT_sf_names = 0x2101,
237 DW_AT_MIPS_stride = 0x2008,
238 DW_AT_MIPS_abstract_name = 0x2009,
239 DW_AT_MIPS_clone_origin = 0x200a,
240 DW_AT_MIPS_has_inlines = 0x200b,
241 DW_AT_MIPS_stride_byte = 0x200c,
242 DW_AT_MIPS_stride_elem = 0x200d,
243 DW_AT_MIPS_ptr_dopetype = 0x200e,
244 DW_AT_MIPS_allocatable_dopetype = 0x200f,
245 DW_AT_MIPS_assumed_shape_dopetype = 0x2010,
246 DW_AT_sf_names = 0x2101,
226247 DW_AT_src_info = 0x2102,
227248 DW_AT_mac_info = 0x2103,
228249 DW_AT_src_coords = 0x2104,
229250 DW_AT_body_begin = 0x2105,
230251 DW_AT_body_end = 0x2106,
231252 DW_AT_GNU_vector = 0x2107,
253 DW_AT_GNU_template_name = 0x2108,
254 DW_AT_MIPS_assumed_size = 0x2011,
232255 DW_AT_lo_user = 0x2000,
233256 DW_AT_hi_user = 0x3fff,
234257
589612 DW_CFA_val_offset = 0x14,
590613 DW_CFA_val_offset_sf = 0x15,
591614 DW_CFA_val_expression = 0x16,
615 DW_CFA_MIPS_advance_loc8 = 0x1d,
616 DW_CFA_GNU_window_save = 0x2d,
617 DW_CFA_GNU_args_size = 0x2e,
592618 DW_CFA_lo_user = 0x1c,
593619 DW_CFA_hi_user = 0x3f,
594620
8383 case DW_TAG_vector_type: return "DW_TAG_vector_type";
8484 case DW_TAG_rvalue_reference_type: return "DW_TAG_rvalue_reference_type";
8585 case DW_TAG_template_alias: return "DW_TAG_template_alias";
86 case DW_TAG_MIPS_loop: return "DW_TAG_MIPS_loop";
8687 case DW_TAG_type_unit: return "DW_TAG_type_unit";
88 case DW_TAG_format_label: return "DW_TAG_format_label";
89 case DW_TAG_function_template: return "DW_TAG_function_template";
90 case DW_TAG_class_template: return "DW_TAG_class_template";
91 case DW_TAG_GNU_template_template_param:
92 return "DW_TAG_GNU_template_template_param";
93 case DW_TAG_GNU_template_parameter_pack:
94 return "DW_TAG_GNU_template_parameter_pack";
95 case DW_TAG_GNU_formal_parameter_pack:
96 return "DW_TAG_GNU_formal_parameter_pack";
8797 }
8898 return 0;
8999 }
194204 case DW_AT_const_expr: return "DW_AT_const_expr";
195205 case DW_AT_enum_class: return "DW_AT_enum_class";
196206 case DW_AT_linkage_name: return "DW_AT_linkage_name";
207 case DW_AT_MIPS_loop_begin: return "DW_AT_MIPS_loop_begin";
208 case DW_AT_MIPS_tail_loop_begin: return "DW_AT_MIPS_tail_loop_begin";
209 case DW_AT_MIPS_epilog_begin: return "DW_AT_MIPS_epilog_begin";
210 case DW_AT_MIPS_loop_unroll_factor: return "DW_AT_MIPS_loop_unroll_factor";
211 case DW_AT_MIPS_software_pipeline_depth:
212 return "DW_AT_MIPS_software_pipeline_depth";
197213 case DW_AT_MIPS_linkage_name: return "DW_AT_MIPS_linkage_name";
214 case DW_AT_MIPS_stride: return "DW_AT_MIPS_stride";
215 case DW_AT_MIPS_abstract_name: return "DW_AT_MIPS_abstract_name";
216 case DW_AT_MIPS_clone_origin: return "DW_AT_MIPS_clone_origin";
217 case DW_AT_MIPS_has_inlines: return "DW_AT_MIPS_has_inlines";
218 case DW_AT_MIPS_stride_byte: return "DW_AT_MIPS_stride_byte";
219 case DW_AT_MIPS_stride_elem: return "DW_AT_MIPS_stride_elem";
220 case DW_AT_MIPS_ptr_dopetype: return "DW_AT_MIPS_ptr_dopetype";
221 case DW_AT_MIPS_allocatable_dopetype:
222 return "DW_AT_MIPS_allocatable_dopetype";
223 case DW_AT_MIPS_assumed_shape_dopetype:
224 return "DW_AT_MIPS_assumed_shape_dopetype";
198225 case DW_AT_sf_names: return "DW_AT_sf_names";
199226 case DW_AT_src_info: return "DW_AT_src_info";
200227 case DW_AT_mac_info: return "DW_AT_mac_info";
202229 case DW_AT_body_begin: return "DW_AT_body_begin";
203230 case DW_AT_body_end: return "DW_AT_body_end";
204231 case DW_AT_GNU_vector: return "DW_AT_GNU_vector";
232 case DW_AT_GNU_template_name: return "DW_AT_GNU_template_name";
233 case DW_AT_MIPS_assumed_size: return "DW_AT_MIPS_assumed_size";
205234 case DW_AT_lo_user: return "DW_AT_lo_user";
206235 case DW_AT_hi_user: return "DW_AT_hi_user";
207236 case DW_AT_APPLE_optimized: return "DW_AT_APPLE_optimized";
667696 case DW_CFA_val_offset: return "DW_CFA_val_offset";
668697 case DW_CFA_val_offset_sf: return "DW_CFA_val_offset_sf";
669698 case DW_CFA_val_expression: return "DW_CFA_val_expression";
699 case DW_CFA_MIPS_advance_loc8: return "DW_CFA_MIPS_advance_loc8";
700 case DW_CFA_GNU_window_save: return "DW_CFA_GNU_window_save";
701 case DW_CFA_GNU_args_size: return "DW_CFA_GNU_args_size";
670702 case DW_CFA_lo_user: return "DW_CFA_lo_user";
671703 case DW_CFA_hi_user: return "DW_CFA_hi_user";
672704 }