aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-10-12 21:23:01 +0000
committerDale Johannesen <dalej@apple.com>2008-10-12 21:23:01 +0000
commit51b7f8268b5a266c07a49c047c7e05f7f974787a (patch)
tree7f248f16031564bc2b1cfe99446192f61d7740f9 /lib/Support
parentd55fccde4cc8a263f668c2f1db7fbe96fc19d4a6 (diff)
downloadexternal_llvm-51b7f8268b5a266c07a49c047c7e05f7f974787a.zip
external_llvm-51b7f8268b5a266c07a49c047c7e05f7f974787a.tar.gz
external_llvm-51b7f8268b5a266c07a49c047c7e05f7f974787a.tar.bz2
Change TAG_ names to DW_TAG for gcc (testsuite) compatibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Dwarf.cpp118
1 files changed, 59 insertions, 59 deletions
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp
index 0667a54..b7cf3b9 100644
--- a/lib/Support/Dwarf.cpp
+++ b/lib/Support/Dwarf.cpp
@@ -23,65 +23,65 @@ namespace dwarf {
///
const char *TagString(unsigned Tag) {
switch(Tag) {
- case DW_TAG_array_type: return "TAG_array_type";
- case DW_TAG_class_type: return "TAG_class_type";
- case DW_TAG_entry_point: return "TAG_entry_point";
- case DW_TAG_enumeration_type: return "TAG_enumeration_type";
- case DW_TAG_formal_parameter: return "TAG_formal_parameter";
- case DW_TAG_imported_declaration: return "TAG_imported_declaration";
- case DW_TAG_label: return "TAG_label";
- case DW_TAG_lexical_block: return "TAG_lexical_block";
- case DW_TAG_member: return "TAG_member";
- case DW_TAG_pointer_type: return "TAG_pointer_type";
- case DW_TAG_reference_type: return "TAG_reference_type";
- case DW_TAG_compile_unit: return "TAG_compile_unit";
- case DW_TAG_string_type: return "TAG_string_type";
- case DW_TAG_structure_type: return "TAG_structure_type";
- case DW_TAG_subroutine_type: return "TAG_subroutine_type";
- case DW_TAG_typedef: return "TAG_typedef";
- case DW_TAG_union_type: return "TAG_union_type";
- case DW_TAG_unspecified_parameters: return "TAG_unspecified_parameters";
- case DW_TAG_variant: return "TAG_variant";
- case DW_TAG_common_block: return "TAG_common_block";
- case DW_TAG_common_inclusion: return "TAG_common_inclusion";
- case DW_TAG_inheritance: return "TAG_inheritance";
- case DW_TAG_inlined_subroutine: return "TAG_inlined_subroutine";
- case DW_TAG_module: return "TAG_module";
- case DW_TAG_ptr_to_member_type: return "TAG_ptr_to_member_type";
- case DW_TAG_set_type: return "TAG_set_type";
- case DW_TAG_subrange_type: return "TAG_subrange_type";
- case DW_TAG_with_stmt: return "TAG_with_stmt";
- case DW_TAG_access_declaration: return "TAG_access_declaration";
- case DW_TAG_base_type: return "TAG_base_type";
- case DW_TAG_catch_block: return "TAG_catch_block";
- case DW_TAG_const_type: return "TAG_const_type";
- case DW_TAG_constant: return "TAG_constant";
- case DW_TAG_enumerator: return "TAG_enumerator";
- case DW_TAG_file_type: return "TAG_file_type";
- case DW_TAG_friend: return "TAG_friend";
- case DW_TAG_namelist: return "TAG_namelist";
- case DW_TAG_namelist_item: return "TAG_namelist_item";
- case DW_TAG_packed_type: return "TAG_packed_type";
- case DW_TAG_subprogram: return "TAG_subprogram";
- case DW_TAG_template_type_parameter: return "TAG_template_type_parameter";
- case DW_TAG_template_value_parameter: return "TAG_template_value_parameter";
- case DW_TAG_thrown_type: return "TAG_thrown_type";
- case DW_TAG_try_block: return "TAG_try_block";
- case DW_TAG_variant_part: return "TAG_variant_part";
- case DW_TAG_variable: return "TAG_variable";
- case DW_TAG_volatile_type: return "TAG_volatile_type";
- case DW_TAG_dwarf_procedure: return "TAG_dwarf_procedure";
- case DW_TAG_restrict_type: return "TAG_restrict_type";
- case DW_TAG_interface_type: return "TAG_interface_type";
- case DW_TAG_namespace: return "TAG_namespace";
- case DW_TAG_imported_module: return "TAG_imported_module";
- case DW_TAG_unspecified_type: return "TAG_unspecified_type";
- case DW_TAG_partial_unit: return "TAG_partial_unit";
- case DW_TAG_imported_unit: return "TAG_imported_unit";
- case DW_TAG_condition: return "TAG_condition";
- case DW_TAG_shared_type: return "TAG_shared_type";
- case DW_TAG_lo_user: return "TAG_lo_user";
- case DW_TAG_hi_user: return "TAG_hi_user";
+ case DW_TAG_array_type: return "DW_TAG_array_type";
+ case DW_TAG_class_type: return "DW_TAG_class_type";
+ case DW_TAG_entry_point: return "DW_TAG_entry_point";
+ case DW_TAG_enumeration_type: return "DW_TAG_enumeration_type";
+ case DW_TAG_formal_parameter: return "DW_TAG_formal_parameter";
+ case DW_TAG_imported_declaration: return "DW_TAG_imported_declaration";
+ case DW_TAG_label: return "DW_TAG_label";
+ case DW_TAG_lexical_block: return "DW_TAG_lexical_block";
+ case DW_TAG_member: return "DW_TAG_member";
+ case DW_TAG_pointer_type: return "DW_TAG_pointer_type";
+ case DW_TAG_reference_type: return "DW_TAG_reference_type";
+ case DW_TAG_compile_unit: return "DW_TAG_compile_unit";
+ case DW_TAG_string_type: return "DW_TAG_string_type";
+ case DW_TAG_structure_type: return "DW_TAG_structure_type";
+ case DW_TAG_subroutine_type: return "DW_TAG_subroutine_type";
+ case DW_TAG_typedef: return "DW_TAG_typedef";
+ case DW_TAG_union_type: return "DW_TAG_union_type";
+ case DW_TAG_unspecified_parameters: return "DW_TAG_unspecified_parameters";
+ case DW_TAG_variant: return "DW_TAG_variant";
+ case DW_TAG_common_block: return "DW_TAG_common_block";
+ case DW_TAG_common_inclusion: return "DW_TAG_common_inclusion";
+ case DW_TAG_inheritance: return "DW_TAG_inheritance";
+ case DW_TAG_inlined_subroutine: return "DW_TAG_inlined_subroutine";
+ case DW_TAG_module: return "DW_TAG_module";
+ case DW_TAG_ptr_to_member_type: return "DW_TAG_ptr_to_member_type";
+ case DW_TAG_set_type: return "DW_TAG_set_type";
+ case DW_TAG_subrange_type: return "DW_TAG_subrange_type";
+ case DW_TAG_with_stmt: return "DW_TAG_with_stmt";
+ case DW_TAG_access_declaration: return "DW_TAG_access_declaration";
+ case DW_TAG_base_type: return "DW_TAG_base_type";
+ case DW_TAG_catch_block: return "DW_TAG_catch_block";
+ case DW_TAG_const_type: return "DW_TAG_const_type";
+ case DW_TAG_constant: return "DW_TAG_constant";
+ case DW_TAG_enumerator: return "DW_TAG_enumerator";
+ case DW_TAG_file_type: return "DW_TAG_file_type";
+ case DW_TAG_friend: return "DW_TAG_friend";
+ case DW_TAG_namelist: return "DW_TAG_namelist";
+ case DW_TAG_namelist_item: return "DW_TAG_namelist_item";
+ case DW_TAG_packed_type: return "DW_TAG_packed_type";
+ case DW_TAG_subprogram: return "DW_TAG_subprogram";
+ case DW_TAG_template_type_parameter: return "DW_TAG_template_type_parameter";
+ case DW_TAG_template_value_parameter: return "DW_TAG_template_value_parameter";
+ case DW_TAG_thrown_type: return "DW_TAG_thrown_type";
+ case DW_TAG_try_block: return "DW_TAG_try_block";
+ case DW_TAG_variant_part: return "DW_TAG_variant_part";
+ case DW_TAG_variable: return "DW_TAG_variable";
+ case DW_TAG_volatile_type: return "DW_TAG_volatile_type";
+ case DW_TAG_dwarf_procedure: return "DW_TAG_dwarf_procedure";
+ case DW_TAG_restrict_type: return "DW_TAG_restrict_type";
+ case DW_TAG_interface_type: return "DW_TAG_interface_type";
+ case DW_TAG_namespace: return "DW_TAG_namespace";
+ case DW_TAG_imported_module: return "DW_TAG_imported_module";
+ case DW_TAG_unspecified_type: return "DW_TAG_unspecified_type";
+ case DW_TAG_partial_unit: return "DW_TAG_partial_unit";
+ case DW_TAG_imported_unit: return "DW_TAG_imported_unit";
+ case DW_TAG_condition: return "DW_TAG_condition";
+ case DW_TAG_shared_type: return "DW_TAG_shared_type";
+ case DW_TAG_lo_user: return "DW_TAG_lo_user";
+ case DW_TAG_hi_user: return "DW_TAG_hi_user";
}
assert(0 && "Unknown Dwarf Tag");
return "";