Rename CompileUnit->DwarfCompileUnit and TypeUnit->DwarfTypeUnit for

clarity. No functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2013-12-09 23:57:44 +00:00
parent 757fb9069c
commit 4a644cc525
4 changed files with 104 additions and 93 deletions

View File

@@ -495,10 +495,10 @@ private:
void updateAcceleratorTables(DIScope Context, DIType Ty, const DIE *TyDIE);
};
class CompileUnit : public DwarfUnit {
class DwarfCompileUnit : public DwarfUnit {
public:
CompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
DwarfCompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
/// createGlobalVariableDIE - create global variable DIE.
void createGlobalVariableDIE(DIGlobalVariable GV);
@@ -510,13 +510,13 @@ public:
uint16_t getLanguage() const { return getNode().getLanguage(); }
};
class TypeUnit : public DwarfUnit {
class DwarfTypeUnit : public DwarfUnit {
private:
uint16_t Language;
public:
TypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
DwarfTypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
uint16_t getLanguage() const { return Language; }
};