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

Make GetRelocType pure virtual.

llvm-svn: 147229
This commit is contained in:
Rafael Espindola 2011-12-24 01:36:25 +00:00
parent a3bc09fec4
commit fc942cb186
2 changed files with 1 additions and 9 deletions

View File

@ -42,7 +42,7 @@ public:
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel, bool IsRelocWithSymbol,
int64_t Addend) const; // FIXME: add = 0
int64_t Addend) const = 0;
virtual unsigned getEFlags() const;
virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
const MCValue &Target,

View File

@ -37,13 +37,5 @@ void MCELFObjectTargetWriter::adjustFixupOffset(const MCFixup &Fixup,
uint64_t &RelocOffset) {
}
unsigned MCELFObjectTargetWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel,
bool IsRelocWithSymbol,
int64_t Addend) const {
return 0;
}
MCELFObjectTargetWriter::~MCELFObjectTargetWriter() {
}