[X86] Remove X86ELFObjectWriter in X86AsmBackend.cpp (NFC)

Note that the identically named class is defined in an anonymous
namespace in X86ELFObjectWriter.cpp.
This commit is contained in:
Kazu Hirata 2021-11-01 08:31:54 -07:00
parent 7afef22926
commit d000431fb2
1 changed files with 0 additions and 7 deletions

View File

@ -116,13 +116,6 @@ cl::opt<bool> X86PadForBranchAlign(
"x86-pad-for-branch-align", cl::init(true), cl::Hidden, "x86-pad-for-branch-align", cl::init(true), cl::Hidden,
cl::desc("Pad previous instructions to implement branch alignment")); cl::desc("Pad previous instructions to implement branch alignment"));
class X86ELFObjectWriter : public MCELFObjectTargetWriter {
public:
X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine,
bool HasRelocationAddend, bool foobar)
: MCELFObjectTargetWriter(is64Bit, OSABI, EMachine, HasRelocationAddend) {}
};
class X86AsmBackend : public MCAsmBackend { class X86AsmBackend : public MCAsmBackend {
const MCSubtargetInfo &STI; const MCSubtargetInfo &STI;
std::unique_ptr<const MCInstrInfo> MCII; std::unique_ptr<const MCInstrInfo> MCII;