diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-10-21 23:06:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-10-21 23:06:19 +0000 |
commit | 449f036a8141b9032ff310ecbe0ab4433c5c307b (patch) | |
tree | d4d402affa29fbd5dc4735e097ce02e0900b76d0 /lib | |
parent | f1545a219744c1ae66137e64d1c456cd8e924eb7 (diff) | |
download | external_llvm-449f036a8141b9032ff310ecbe0ab4433c5c307b.zip external_llvm-449f036a8141b9032ff310ecbe0ab4433c5c307b.tar.gz external_llvm-449f036a8141b9032ff310ecbe0ab4433c5c307b.tar.bz2 |
DWARF Type Hashing: Include reference and rvalue reference type in the declarable summary hashing path
More support for 7.25 Part 5.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIEHash.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.cpp b/lib/CodeGen/AsmPrinter/DIEHash.cpp index 0dacd73..64a8fd5 100644 --- a/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/lib/CodeGen/AsmPrinter/DIEHash.cpp @@ -201,7 +201,9 @@ void DIEHash::hashAttribute(AttrEntry Attr, dwarf::Tag Tag) { // Step 5 // If the tag in Step 3 is one of ... - if (Tag == dwarf::DW_TAG_pointer_type) { + if (Tag == dwarf::DW_TAG_pointer_type || + Tag == dwarf::DW_TAG_reference_type || + Tag == dwarf::DW_TAG_rvalue_reference_type) { // ... and the referenced type (via the DW_AT_type or DW_AT_friend // attribute) ... assert(Desc->getAttribute() == dwarf::DW_AT_type || |