DWARF type hashing: begin implementing Step 5, summary hashing in declarable contexts
There are several other tag types that need similar handling but to
ensure test coverage they'll be coming incrementally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193126 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.h b/lib/CodeGen/AsmPrinter/DIEHash.h
index f6650cc..a59df35 100644
--- a/lib/CodeGen/AsmPrinter/DIEHash.h
+++ b/lib/CodeGen/AsmPrinter/DIEHash.h
@@ -119,10 +119,10 @@
void collectAttributes(DIE *Die, DIEAttrs &Attrs);
/// \brief Hashes the attributes in \param Attrs in order.
- void hashAttributes(const DIEAttrs &Attrs);
+ void hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag);
/// \brief Hashes an individual attribute.
- void hashAttribute(AttrEntry Attr);
+ void hashAttribute(AttrEntry Attr, dwarf::Tag Tag);
private:
MD5 Hash;