diff options
author | Eric Christopher <echristo@gmail.com> | 2013-05-08 00:58:51 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-05-08 00:58:51 +0000 |
commit | 9c57ad2381488b7cde7e3eb459d2ce3e447e93b7 (patch) | |
tree | 7702f78b8845c5ac8f4a4ccbeeff6ab515542730 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 1db3d0820f8057dd03ade1585bfa5f2bf53cfe33 (diff) | |
download | llvm-9c57ad2381488b7cde7e3eb459d2ce3e447e93b7.tar.gz llvm-9c57ad2381488b7cde7e3eb459d2ce3e447e93b7.tar.bz2 llvm-9c57ad2381488b7cde7e3eb459d2ce3e447e93b7.tar.xz |
Pass the MDNode in and do the insertion at compile unit creation time
instead of relying upon an extra call to finish initializing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index c6d0465fa1..e1af572402 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -95,8 +95,8 @@ class CompileUnit { int64_t getDefaultLowerBound() const; public: - CompileUnit(unsigned UID, unsigned L, DIE *D, AsmPrinter *A, DwarfDebug *DW, - DwarfUnits *); + CompileUnit(unsigned UID, unsigned L, DIE *D, const MDNode *N, AsmPrinter *A, + DwarfDebug *DW, DwarfUnits *DWU); ~CompileUnit(); // Accessors. |