diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp index 9a26e727bd9..8409a7f56c2 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp @@ -466,6 +466,9 @@ uint64_t DIEHash::computeCUSignature(DIE *Die) { /// standard. uint64_t DIEHash::computeTypeSignature(DIE *Die) { + if (DIE *Parent = Die->getParent()) + addParentContext(Parent); + // Hash the DIE. computeHash(Die); |

