Rename DwarfUnits to DwarfFile to help avoid some naming confusion.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfUnit.cpp
index 663bc0c4d4a378807b99e6c5def1caf57ac06116..8760335bcff90753dec85d635207ef023930b051 100644 (file)
@@ -39,20 +39,20 @@ static cl::opt<bool> GenerateTypeUnits("generate-type-units", cl::Hidden,
 
 /// Unit - Unit constructor.
 Unit::Unit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
-           DwarfDebug *DW, DwarfUnits *DWU)
+           DwarfDebug *DW, DwarfFile *DWU)
     : UniqueID(UID), Node(Node), UnitDie(D), DebugInfoOffset(0), Asm(A), DD(DW),
       DU(DWU), IndexTyDie(0) {
   DIEIntegerOne = new (DIEValueAllocator) DIEInteger(1);
 }
 
 CompileUnit::CompileUnit(unsigned UID, DIE *D, DICompileUnit Node,
-                         AsmPrinter *A, DwarfDebug *DW, DwarfUnits *DWU)
+                         AsmPrinter *A, DwarfDebug *DW, DwarfFile *DWU)
     : Unit(UID, D, Node, A, DW, DWU) {
   insertDIE(Node, D);
 }
 
 TypeUnit::TypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
-                   DwarfDebug *DW, DwarfUnits *DWU)
+                   DwarfDebug *DW, DwarfFile *DWU)
     : Unit(UID, D, DICompileUnit(), A, DW, DWU), Language(Language) {}
 
 /// ~Unit - Destructor for compile unit.