forked from OSchip/llvm-project
parent
59e42b8f96
commit
014ac69f2e
|
@ -38,7 +38,7 @@ public:
|
|||
~WebAssemblyAsmBackendELF() override {}
|
||||
|
||||
void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
|
||||
uint64_t Value, bool IsPCRel) const override;
|
||||
uint64_t Value, bool IsPCRel, MCContext &Ctx) const override;
|
||||
|
||||
MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override;
|
||||
|
||||
|
@ -78,7 +78,7 @@ public:
|
|||
const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
|
||||
|
||||
void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
|
||||
uint64_t Value, bool IsPCRel) const override;
|
||||
uint64_t Value, bool IsPCRel, MCContext &Ctx) const override;
|
||||
|
||||
MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override;
|
||||
|
||||
|
@ -107,7 +107,7 @@ bool WebAssemblyAsmBackendELF::writeNopData(uint64_t Count,
|
|||
|
||||
void WebAssemblyAsmBackendELF::applyFixup(const MCFixup &Fixup, char *Data,
|
||||
unsigned DataSize, uint64_t Value,
|
||||
bool IsPCRel) const {
|
||||
bool IsPCRel, MCContext &Ctx) const {
|
||||
const MCFixupKindInfo &Info = getFixupKindInfo(Fixup.getKind());
|
||||
assert(Info.Flags == 0 && "WebAssembly does not use MCFixupKindInfo flags");
|
||||
|
||||
|
@ -165,7 +165,7 @@ bool WebAssemblyAsmBackend::writeNopData(uint64_t Count,
|
|||
|
||||
void WebAssemblyAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
|
||||
unsigned DataSize, uint64_t Value,
|
||||
bool IsPCRel) const {
|
||||
bool IsPCRel, MCContext &Ctx) const {
|
||||
const MCFixupKindInfo &Info = getFixupKindInfo(Fixup.getKind());
|
||||
assert(Info.Flags == 0 && "WebAssembly does not use MCFixupKindInfo flags");
|
||||
|
||||
|
|
Loading…
Reference in New Issue