[PATCH] D21492: [X86][NFC] Remove duplicate X86ELFObjectWriter class

Visoiu Mistrih Francis via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 12:04:43 PDT 2016

thegameg created this revision.
thegameg added reviewers: rafael, pete, grosbach.
thegameg added a subscriber: llvm-commits.

* lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:
The `X86ELFObjectWriter` class is implemented in
`lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp` now.
The one in `X86AsmBackend.cpp` is not used anymore.



Index: lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
--- lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@ -60,13 +60,6 @@
 namespace {
-class X86ELFObjectWriter : public MCELFObjectTargetWriter {
-  X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine,
-                     bool HasRelocationAddend, bool foobar)
-    : MCELFObjectTargetWriter(is64Bit, OSABI, EMachine, HasRelocationAddend) {}
 class X86AsmBackend : public MCAsmBackend {
   const StringRef CPU;
   bool HasNopl;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21492.61169.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160618/46c8fb3b/attachment.bin>

More information about the llvm-commits mailing list