mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 02:53:06 +00:00
Remove weak vtables. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aaecc0fc08
commit
da48260ed4
@ -2256,3 +2256,6 @@ GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy *S) {
|
|||||||
|
|
||||||
report_fatal_error("no GCMetadataPrinter registered for GC: " + Twine(Name));
|
report_fatal_error("no GCMetadataPrinter registered for GC: " + Twine(Name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Pin vtable to this file.
|
||||||
|
AsmPrinterHandler::~AsmPrinterHandler() {}
|
||||||
|
@ -27,7 +27,7 @@ class MCSymbol;
|
|||||||
/// or EH information.
|
/// or EH information.
|
||||||
class AsmPrinterHandler {
|
class AsmPrinterHandler {
|
||||||
public:
|
public:
|
||||||
virtual ~AsmPrinterHandler() {}
|
virtual ~AsmPrinterHandler();
|
||||||
|
|
||||||
/// \brief For symbols that have a size designated (e.g. common symbols),
|
/// \brief For symbols that have a size designated (e.g. common symbols),
|
||||||
/// this tracks that size.
|
/// this tracks that size.
|
||||||
|
@ -1998,6 +1998,9 @@ void DwarfUnit::emitHeader(const MCSection *ASection,
|
|||||||
Asm->EmitInt8(Asm->getDataLayout().getPointerSize());
|
Asm->EmitInt8(Asm->getDataLayout().getPointerSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DwarfCompileUnit::~DwarfCompileUnit() {}
|
||||||
|
DwarfTypeUnit::~DwarfTypeUnit() {}
|
||||||
|
|
||||||
void DwarfTypeUnit::emitHeader(const MCSection *ASection,
|
void DwarfTypeUnit::emitHeader(const MCSection *ASection,
|
||||||
const MCSymbol *ASectionSym) const {
|
const MCSymbol *ASectionSym) const {
|
||||||
DwarfUnit::emitHeader(ASection, ASectionSym);
|
DwarfUnit::emitHeader(ASection, ASectionSym);
|
||||||
|
@ -500,6 +500,7 @@ class DwarfCompileUnit : public DwarfUnit {
|
|||||||
public:
|
public:
|
||||||
DwarfCompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
|
DwarfCompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
|
||||||
DwarfDebug *DW, DwarfFile *DWU);
|
DwarfDebug *DW, DwarfFile *DWU);
|
||||||
|
virtual ~DwarfCompileUnit() LLVM_OVERRIDE;
|
||||||
|
|
||||||
/// createGlobalVariableDIE - create global variable DIE.
|
/// createGlobalVariableDIE - create global variable DIE.
|
||||||
void createGlobalVariableDIE(DIGlobalVariable GV);
|
void createGlobalVariableDIE(DIGlobalVariable GV);
|
||||||
@ -520,6 +521,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
DwarfTypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
|
DwarfTypeUnit(unsigned UID, DIE *D, uint16_t Language, AsmPrinter *A,
|
||||||
DwarfDebug *DW, DwarfFile *DWU);
|
DwarfDebug *DW, DwarfFile *DWU);
|
||||||
|
virtual ~DwarfTypeUnit() LLVM_OVERRIDE;
|
||||||
|
|
||||||
void setTypeSignature(uint64_t Signature) { TypeSignature = Signature; }
|
void setTypeSignature(uint64_t Signature) { TypeSignature = Signature; }
|
||||||
void setType(const DIE *Ty) { this->Ty = Ty; }
|
void setType(const DIE *Ty) { this->Ty = Ty; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user