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 | fe3233a568272f1187e3f2df8fd5179d863bbcd3 (patch) | |
| tree | ba7184941bfed57b85018bd20ae49db7d1a140b7 /llvm/lib/CodeGen | |
| parent | 3dd88b914081f82932e1e0d5e408eb96a39f941e (diff) | |
| download | bcm5719-llvm-fe3233a568272f1187e3f2df8fd5179d863bbcd3.tar.gz bcm5719-llvm-fe3233a568272f1187e3f2df8fd5179d863bbcd3.zip | |
DWARF Type Hashing: Include reference and rvalue reference type in the declarable summary hashing path
More support for 7.25 Part 5.
llvm-svn: 193129
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp index 0dacd7384e0..64a8fd50ed3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/llvm/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 || |

