Skip to content

Commit cfd1b14

Browse files
committed
Revert "[X86] Define shouldForceRelocation"
This reverts commit 4fdcde5. Test failures on several bots
1 parent 50c4506 commit cfd1b14

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ class X86AsmBackend : public MCAsmBackend {
169169

170170
MCFixupKindInfo getFixupKindInfo(MCFixupKind Kind) const override;
171171

172-
bool shouldForceRelocation(const MCAssembler &, const MCFixup &,
173-
const MCValue &, const MCSubtargetInfo *) override;
174-
175172
void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
176173
const MCValue &Target, MutableArrayRef<char> Data,
177174
uint64_t Value, bool IsResolved,
@@ -690,12 +687,6 @@ static unsigned getFixupKindSize(unsigned Kind) {
690687
}
691688
}
692689

693-
bool X86AsmBackend::shouldForceRelocation(const MCAssembler &, const MCFixup &,
694-
const MCValue &Target,
695-
const MCSubtargetInfo *) {
696-
return Target.getSpecifier();
697-
}
698-
699690
void X86AsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
700691
const MCValue &, MutableArrayRef<char> Data,
701692
uint64_t Value, bool IsResolved,

0 commit comments

Comments
 (0)