Add DW_AT_GNU_odr_signature to the set of dwarf attributes.
authorEric Christopher <echristo@gmail.com>
Sun, 14 Jul 2013 22:02:31 +0000 (22:02 +0000)
committerEric Christopher <echristo@gmail.com>
Sun, 14 Jul 2013 22:02:31 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186296 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Dwarf.h
lib/Support/Dwarf.cpp

index b52914f93851f0260f1212ac9b79dddb78f8c89b..d0e2322b2d65a095d6e68e1f07cb5efcd966bae8 100644 (file)
@@ -272,6 +272,8 @@ enum dwarf_constants {
   DW_AT_GNU_vector = 0x2107,
   DW_AT_GNU_template_name = 0x2110,
 
+  DW_AT_GNU_odr_signature = 0x210f,
+
   // Extensions for Fission proposal.
   DW_AT_GNU_dwo_name = 0x2130,
   DW_AT_GNU_dwo_id = 0x2131,
index 0f91c11ac260f669a93b961bffbc1611ae0e3ec5..8a801396d0dc502360882a4f3661ad9d041a3b60 100644 (file)
@@ -230,6 +230,7 @@ const char *llvm::dwarf::AttributeString(unsigned Attribute) {
   case DW_AT_body_end:                   return "DW_AT_body_end";
   case DW_AT_GNU_vector:                 return "DW_AT_GNU_vector";
   case DW_AT_GNU_template_name:          return "DW_AT_GNU_template_name";
+  case DW_AT_GNU_odr_signature:          return "DW_AT_GNU_odr_signature";
   case DW_AT_MIPS_assumed_size:          return "DW_AT_MIPS_assumed_size";
   case DW_AT_lo_user:                    return "DW_AT_lo_user";
   case DW_AT_hi_user:                    return "DW_AT_hi_user";