mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
Remove unused parameter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1943,7 +1943,7 @@ void DwarfFile::emitUnits(DwarfDebug *DD, const MCSection *ASection,
|
|||||||
Asm->OutStreamer.AddComment("Length of Unit");
|
Asm->OutStreamer.AddComment("Length of Unit");
|
||||||
Asm->EmitInt32(TheU->getHeaderSize() + Die->getSize());
|
Asm->EmitInt32(TheU->getHeaderSize() + Die->getSize());
|
||||||
|
|
||||||
TheU->emitHeader(ASection, ASectionSym);
|
TheU->emitHeader(ASectionSym);
|
||||||
|
|
||||||
DD->emitDIE(Die);
|
DD->emitDIE(Die);
|
||||||
Asm->OutStreamer.EmitLabel(TheU->getLabelEnd());
|
Asm->OutStreamer.EmitLabel(TheU->getLabelEnd());
|
||||||
|
@ -2030,8 +2030,7 @@ DIE *DwarfUnit::getOrCreateStaticMemberDIE(DIDerivedType DT) {
|
|||||||
return StaticMemberDIE;
|
return StaticMemberDIE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfUnit::emitHeader(const MCSection *ASection,
|
void DwarfUnit::emitHeader(const MCSymbol *ASectionSym) const {
|
||||||
const MCSymbol *ASectionSym) const {
|
|
||||||
Asm->OutStreamer.AddComment("DWARF version number");
|
Asm->OutStreamer.AddComment("DWARF version number");
|
||||||
Asm->EmitInt16(DD->getDwarfVersion());
|
Asm->EmitInt16(DD->getDwarfVersion());
|
||||||
Asm->OutStreamer.AddComment("Offset Into Abbrev. Section");
|
Asm->OutStreamer.AddComment("Offset Into Abbrev. Section");
|
||||||
@ -2098,9 +2097,8 @@ void DwarfCompileUnit::applyStmtList(DIE &D) {
|
|||||||
UnitDie->getValues()[stmtListIndex]);
|
UnitDie->getValues()[stmtListIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfTypeUnit::emitHeader(const MCSection *ASection,
|
void DwarfTypeUnit::emitHeader(const MCSymbol *ASectionSym) const {
|
||||||
const MCSymbol *ASectionSym) const {
|
DwarfUnit::emitHeader(ASectionSym);
|
||||||
DwarfUnit::emitHeader(ASection, ASectionSym);
|
|
||||||
Asm->OutStreamer.AddComment("Type Signature");
|
Asm->OutStreamer.AddComment("Type Signature");
|
||||||
Asm->OutStreamer.EmitIntValue(TypeSignature, sizeof(TypeSignature));
|
Asm->OutStreamer.EmitIntValue(TypeSignature, sizeof(TypeSignature));
|
||||||
Asm->OutStreamer.AddComment("Type DIE Offset");
|
Asm->OutStreamer.AddComment("Type DIE Offset");
|
||||||
|
@ -479,8 +479,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Emit the header for this unit, not including the initial length field.
|
/// Emit the header for this unit, not including the initial length field.
|
||||||
virtual void emitHeader(const MCSection *ASection,
|
virtual void emitHeader(const MCSymbol *ASectionSym) const;
|
||||||
const MCSymbol *ASectionSym) const;
|
|
||||||
|
|
||||||
virtual DwarfCompileUnit &getCU() = 0;
|
virtual DwarfCompileUnit &getCU() = 0;
|
||||||
|
|
||||||
@ -610,8 +609,7 @@ public:
|
|||||||
void setType(const DIE *Ty) { this->Ty = Ty; }
|
void setType(const DIE *Ty) { this->Ty = Ty; }
|
||||||
|
|
||||||
/// Emit the header for this unit, not including the initial length field.
|
/// Emit the header for this unit, not including the initial length field.
|
||||||
void emitHeader(const MCSection *ASection, const MCSymbol *ASectionSym) const
|
void emitHeader(const MCSymbol *ASectionSym) const override;
|
||||||
override;
|
|
||||||
unsigned getHeaderSize() const override {
|
unsigned getHeaderSize() const override {
|
||||||
return DwarfUnit::getHeaderSize() + sizeof(uint64_t) + // Type Signature
|
return DwarfUnit::getHeaderSize() + sizeof(uint64_t) + // Type Signature
|
||||||
sizeof(uint32_t); // Type DIE Offset
|
sizeof(uint32_t); // Type DIE Offset
|
||||||
|
Reference in New Issue
Block a user