summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DIEHash.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-10-25 18:38:43 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-10-25 18:38:43 +0000
commita954618c6e6c5f94d3cedc0b6bc19dbc49e56ac2 (patch)
treee3bf6e25cc80684422154e73ad3d949bdad767ba /lib/CodeGen/AsmPrinter/DIEHash.h
parented400c710890313116aeea9a070dce7956da44d1 (diff)
downloadllvm-a954618c6e6c5f94d3cedc0b6bc19dbc49e56ac2.tar.gz
llvm-a954618c6e6c5f94d3cedc0b6bc19dbc49e56ac2.tar.bz2
llvm-a954618c6e6c5f94d3cedc0b6bc19dbc49e56ac2.tar.xz
DIEHash: Summary hashing of nested types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIEHash.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.h b/lib/CodeGen/AsmPrinter/DIEHash.h
index da373de3f0..b9cf7ce949 100644
--- a/lib/CodeGen/AsmPrinter/DIEHash.h
+++ b/lib/CodeGen/AsmPrinter/DIEHash.h
@@ -137,6 +137,8 @@ private:
/// \brief Hashes a reference to a previously referenced type DIE.
void hashRepeatedTypeReference(dwarf::Attribute Attribute, unsigned DieNumber);
+ void hashNestedType(const DIE &Die, StringRef Name);
+
private:
MD5 Hash;
DenseMap<const DIE *, unsigned> Numbering;