[llvm] r197877 - Dwarf: Fix a copy-paste bug.

Benjamin Kramer benny.kra at googlemail.com
Sun Dec 22 02:23:23 PST 2013


Author: d0k
Date: Sun Dec 22 04:23:23 2013
New Revision: 197877

URL: http://llvm.org/viewvc/llvm-project?rev=197877&view=rev
Log:
Dwarf: Fix a copy-paste bug.

This tag isn't emitted by any compiler at the moment. PR18306.

Modified:
    llvm/trunk/lib/Support/Dwarf.cpp

Modified: llvm/trunk/lib/Support/Dwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Dwarf.cpp?rev=197877&r1=197876&r2=197877&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Dwarf.cpp (original)
+++ llvm/trunk/lib/Support/Dwarf.cpp Sun Dec 22 04:23:23 2013
@@ -86,7 +86,7 @@ const char *llvm::dwarf::TagString(unsig
   case DW_TAG_template_alias:            return "DW_TAG_template_alias";
   case DW_TAG_coarray_type:              return "DW_TAG_coarray_type";
   case DW_TAG_generic_subrange:          return "DW_TAG_generic_subrange";
-  case DW_TAG_dynamic_type:              return "DW_TAG_generic_subrange";
+  case DW_TAG_dynamic_type:              return "DW_TAG_dynamic_type";
   case DW_TAG_MIPS_loop:                 return "DW_TAG_MIPS_loop";
   case DW_TAG_type_unit:                 return "DW_TAG_type_unit";
   case DW_TAG_format_label:              return "DW_TAG_format_label";





More information about the llvm-commits mailing list