1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix some formatting in my last commit (r201196)

llvm-svn: 201197
This commit is contained in:
David Blaikie 2014-02-12 00:32:05 +00:00
parent 76cef86094
commit 81d038e087
2 changed files with 7 additions and 10 deletions

View File

@ -2968,8 +2968,8 @@ DwarfCompileUnit *DwarfDebug::constructSkeletonCU(const DwarfCompileUnit *CU) {
DwarfTypeUnit *DwarfDebug::constructSkeletonTU(DwarfTypeUnit *TU) {
DIE *Die = new DIE(dwarf::DW_TAG_type_unit);
DwarfTypeUnit *NewTU = new DwarfTypeUnit(
TU->getUniqueID(), Die, TU->getCU(), Asm, this, &SkeletonHolder);
DwarfTypeUnit *NewTU = new DwarfTypeUnit(TU->getUniqueID(), Die, TU->getCU(),
Asm, this, &SkeletonHolder);
NewTU->setTypeSignature(TU->getTypeSignature());
NewTU->setType(NULL);
NewTU->initSection(
@ -3023,8 +3023,8 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
}
DIE *UnitDie = new DIE(dwarf::DW_TAG_type_unit);
DwarfTypeUnit *NewTU = new DwarfTypeUnit(
InfoHolder.getUnits().size(), UnitDie, CU, Asm, this, &InfoHolder);
DwarfTypeUnit *NewTU = new DwarfTypeUnit(InfoHolder.getUnits().size(),
UnitDie, CU, Asm, this, &InfoHolder);
TU = NewTU;
InfoHolder.addUnit(NewTU);

View File

@ -464,6 +464,7 @@ public:
const MCSymbol *ASectionSym) const;
virtual DwarfCompileUnit &getCU() = 0;
protected:
/// getOrCreateStaticMemberDIE - Create new static data member DIE.
DIE *getOrCreateStaticMemberDIE(DIDerivedType DT);
@ -550,9 +551,7 @@ public:
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
void addLabelAddress(DIE *Die, dwarf::Attribute Attribute, MCSymbol *Label);
DwarfCompileUnit &getCU() LLVM_OVERRIDE {
return *this;
}
DwarfCompileUnit &getCU() LLVM_OVERRIDE { return *this; }
};
class DwarfTypeUnit : public DwarfUnit {
@ -578,9 +577,7 @@ public:
sizeof(uint32_t); // Type DIE Offset
}
void initSection(const MCSection *Section);
DwarfCompileUnit &getCU() LLVM_OVERRIDE {
return CU;
}
DwarfCompileUnit &getCU() LLVM_OVERRIDE { return CU; }
};
} // end llvm namespace
#endif