diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIEHash.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h index 1a69f6772873..29e1da4c5d60 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h @@ -31,7 +31,8 @@ class DIEHash { }; public: - DIEHash(AsmPrinter *A = nullptr) : AP(A) {} + DIEHash(AsmPrinter *A = nullptr, DwarfCompileUnit *CU = nullptr) + : AP(A), CU(CU) {} /// Computes the CU signature. uint64_t computeCUSignature(StringRef DWOName, const DIE &Die); @@ -101,6 +102,7 @@ private: private: MD5 Hash; AsmPrinter *AP; + DwarfCompileUnit *CU; DenseMap<const DIE *, unsigned> Numbering; }; } |
