mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
DwarfUnit: Remove unnecessarily explicit/out of line virtual dtors.
These types have an out of line virtual function each (emitHeader at least) so they won't have weak vtables - no need for more than that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa4ff8ab29
commit
ff1677e9c5
@ -1979,8 +1979,6 @@ void DwarfUnit::emitHeader(const MCSection *ASection,
|
||||
Asm->EmitInt8(Asm->getDataLayout().getPointerSize());
|
||||
}
|
||||
|
||||
DwarfCompileUnit::~DwarfCompileUnit() {}
|
||||
|
||||
void DwarfCompileUnit::initStmtList(MCSymbol *DwarfLineSectionSym) {
|
||||
// Define start line table label for each Compile Unit.
|
||||
MCSymbol *LineTableStartSym =
|
||||
@ -2007,8 +2005,6 @@ void DwarfCompileUnit::initStmtList(MCSymbol *DwarfLineSectionSym) {
|
||||
DwarfLineSectionSym);
|
||||
}
|
||||
|
||||
DwarfTypeUnit::~DwarfTypeUnit() {}
|
||||
|
||||
void DwarfTypeUnit::emitHeader(const MCSection *ASection,
|
||||
const MCSymbol *ASectionSym) const {
|
||||
DwarfUnit::emitHeader(ASection, ASectionSym);
|
||||
|
@ -542,7 +542,6 @@ class DwarfCompileUnit : public DwarfUnit {
|
||||
public:
|
||||
DwarfCompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
|
||||
DwarfDebug *DW, DwarfFile *DWU);
|
||||
virtual ~DwarfCompileUnit() LLVM_OVERRIDE;
|
||||
|
||||
void initStmtList(MCSymbol *DwarfLineSectionSym);
|
||||
|
||||
@ -565,7 +564,6 @@ private:
|
||||
public:
|
||||
DwarfTypeUnit(unsigned UID, DIE *D, DwarfCompileUnit &CU, AsmPrinter *A,
|
||||
DwarfDebug *DW, DwarfFile *DWU);
|
||||
virtual ~DwarfTypeUnit() LLVM_OVERRIDE;
|
||||
|
||||
void setTypeSignature(uint64_t Signature) { TypeSignature = Signature; }
|
||||
uint64_t getTypeSignature() const { return TypeSignature; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user