From: Devang Patel Date: Fri, 18 Feb 2011 23:06:29 +0000 (+0000) Subject: Provide tag strings for llvm specific tags. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98d9f5d90dacf5664fe55bc98a03322d2da68a7c;p=oota-llvm.git Provide tag strings for llvm specific tags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125986 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index da21f4abd29..d1d8ad4896d 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -49,7 +49,6 @@ enum llvm_dwarf_constants { DW_TAG_auto_variable = 0x100, // Tag for local (auto) variables. DW_TAG_arg_variable = 0x101, // Tag for argument variables. DW_TAG_return_variable = 0x102, // Tag for return variables. - DW_TAG_vector_type = 0x103, // Tag for vector types. DW_TAG_user_base = 0x1000, // Recommended base for user tags. diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 96ce9d395b3..9799ef54792 100644 --- a/lib/Support/Dwarf.cpp +++ b/lib/Support/Dwarf.cpp @@ -78,6 +78,10 @@ const char *llvm::dwarf::TagString(unsigned Tag) { 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"; + case DW_TAG_auto_variable: return "DW_TAG_auto_variable"; + case DW_TAG_arg_variable: return "DW_TAG_arg_variable"; + case DW_TAG_return_variable: return "DW_TAG_return_variable"; + case DW_TAG_vector_type: return "DW_TAG_vector_type"; } return 0; }