Add methods to StringMap to erase entries by key.
[oota-llvm.git] / lib / Support / Dwarf.cpp
index 9ab541fd640aeb19b4b857b1e50e203884a7116d..f3f183436ec9ff67a9441b8f1815a14d332c32ee 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by James M. Laskey and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -15,6 +15,8 @@
 
 #include <cassert>
 
+namespace llvm {
+
 namespace dwarf {
 
 /// TagString - Return the string for the specified tag.
@@ -186,6 +188,14 @@ const char *AttributeString(unsigned Attribute) {
     case DW_AT_elemental:                  return "AT_elemental";
     case DW_AT_pure:                       return "AT_pure";
     case DW_AT_recursive:                  return "AT_recursive";
+    case DW_AT_MIPS_linkage_name:          return "AT_MIPS_linkage_name";
+    case DW_AT_sf_names:                   return "AT_sf_names";
+    case DW_AT_src_info:                   return "AT_src_info";
+    case DW_AT_mac_info:                   return "AT_mac_info";
+    case DW_AT_src_coords:                 return "AT_src_coords";
+    case DW_AT_body_begin:                 return "AT_body_begin";
+    case DW_AT_body_end:                   return "AT_body_end";
+    case DW_AT_GNU_vector:                 return "AT_GNU_vector";
     case DW_AT_lo_user:                    return "AT_lo_user";
     case DW_AT_hi_user:                    return "AT_hi_user";
   }
@@ -568,5 +578,6 @@ const char *CallFrameString(unsigned Encoding) {
   return "";
 }
 
-} // End of namespace llvm.
+} // End of namespace dwarf.
 
+} // End of namespace llvm.