commit | 88a68cbbb57aa9caef60dbd2f63d908983e77465 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Thu Oct 17 00:10:34 2013 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Thu Oct 17 00:10:34 2013 +0000 |
tree | a4eea1a92a66c52736b80f1cb285eeda3c333804 | |
parent | c0987082206d202c20ebe1d528c1b28a875160ac [diff] |
DIEHash: Include the type's context in the type hash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192856 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.cpp b/lib/CodeGen/AsmPrinter/DIEHash.cpp index 9a26e72..8409a7f 100644 --- a/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/lib/CodeGen/AsmPrinter/DIEHash.cpp
@@ -466,6 +466,9 @@ /// standard. uint64_t DIEHash::computeTypeSignature(DIE *Die) { + if (DIE *Parent = Die->getParent()) + addParentContext(Parent); + // Hash the DIE. computeHash(Die);