summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-14 22:02:31 +0000
committerEric Christopher <echristo@gmail.com>2013-07-14 22:02:31 +0000
commit8e46e7f04b5467a65e0d04ee32ebca9014f21521 (patch)
treec5947a562cddd2847af7a263a049bafc1bc8469a
parent666dc635c70db6706a1c93426f8718bde7f70933 (diff)
downloadbcm5719-llvm-8e46e7f04b5467a65e0d04ee32ebca9014f21521.tar.gz
bcm5719-llvm-8e46e7f04b5467a65e0d04ee32ebca9014f21521.zip
Add DW_AT_GNU_odr_signature to the set of dwarf attributes.
llvm-svn: 186296
-rw-r--r--llvm/include/llvm/Support/Dwarf.h2
-rw-r--r--llvm/lib/Support/Dwarf.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/Dwarf.h b/llvm/include/llvm/Support/Dwarf.h
index b52914f9385..d0e2322b2d6 100644
--- a/llvm/include/llvm/Support/Dwarf.h
+++ b/llvm/include/llvm/Support/Dwarf.h
@@ -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,
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp
index 0f91c11ac26..8a801396d0d 100644
--- a/llvm/lib/Support/Dwarf.cpp
+++ b/llvm/lib/Support/Dwarf.cpp
@@ -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";
OpenPOWER on IntegriCloud