Pass the MDNode in and do the insertion at compile unit creation time
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfCompileUnit.h
index c6d0465fa17d39e162b025aa3c961b51944b1125..e1af5724024284804e936ae76b2ef941e16f2024 100644 (file)
@@ -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.