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:
parent
a3bc09fec4
commit
fc942cb186
@ -42,7 +42,7 @@ public:
|
|||||||
|
|
||||||
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
|
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
|
||||||
bool IsPCRel, bool IsRelocWithSymbol,
|
bool IsPCRel, bool IsRelocWithSymbol,
|
||||||
int64_t Addend) const; // FIXME: add = 0
|
int64_t Addend) const = 0;
|
||||||
virtual unsigned getEFlags() const;
|
virtual unsigned getEFlags() const;
|
||||||
virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
|
virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
|
||||||
const MCValue &Target,
|
const MCValue &Target,
|
||||||
|
@ -37,13 +37,5 @@ void MCELFObjectTargetWriter::adjustFixupOffset(const MCFixup &Fixup,
|
|||||||
uint64_t &RelocOffset) {
|
uint64_t &RelocOffset) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned MCELFObjectTargetWriter::GetRelocType(const MCValue &Target,
|
|
||||||
const MCFixup &Fixup,
|
|
||||||
bool IsPCRel,
|
|
||||||
bool IsRelocWithSymbol,
|
|
||||||
int64_t Addend) const {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
MCELFObjectTargetWriter::~MCELFObjectTargetWriter() {
|
MCELFObjectTargetWriter::~MCELFObjectTargetWriter() {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user