diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-14 22:02:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-14 22:02:31 +0000 |
commit | 6c5ae22c6ac3890f5bb9bbb8ef62ef02271987c8 (patch) | |
tree | db8221098a7fb96f6026126d4713dbd593c70c3f | |
parent | 010dbfdf9357f7db9dd93af35d6454919f7988f9 (diff) | |
download | external_llvm-6c5ae22c6ac3890f5bb9bbb8ef62ef02271987c8.zip external_llvm-6c5ae22c6ac3890f5bb9bbb8ef62ef02271987c8.tar.gz external_llvm-6c5ae22c6ac3890f5bb9bbb8ef62ef02271987c8.tar.bz2 |
Add DW_AT_GNU_odr_signature to the set of dwarf attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/Dwarf.h | 2 | ||||
-rw-r--r-- | lib/Support/Dwarf.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index b52914f..d0e2322 100644 --- a/include/llvm/Support/Dwarf.h +++ b/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/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 0f91c11..8a80139 100644 --- a/lib/Support/Dwarf.cpp +++ b/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"; |