[lld] r262160 - Remove dead code.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 27 16:37:52 PST 2016


Author: ruiu
Date: Sat Feb 27 18:37:52 2016
New Revision: 262160

URL: http://llvm.org/viewvc/llvm-project?rev=262160&view=rev
Log:
Remove dead code.

Modified:
    lld/trunk/include/lld/Core/Reader.h
    lld/trunk/include/lld/Core/Writer.h
    lld/trunk/include/lld/Driver/Driver.h

Modified: lld/trunk/include/lld/Core/Reader.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Reader.h?rev=262160&r1=262159&r2=262160&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Reader.h (original)
+++ lld/trunk/include/lld/Core/Reader.h Sat Feb 27 18:37:52 2016
@@ -29,7 +29,6 @@ class IO;
 namespace lld {
 class File;
 class LinkingContext;
-class PECOFFLinkingContext;
 class MachOLinkingContext;
 
 /// \brief An abstract class for reading object files, library files, and
@@ -113,8 +112,6 @@ public:
   // as parameters to the addSupport*() method.
   void addSupportArchives(bool logLoading);
   void addSupportYamlFiles();
-  void addSupportCOFFObjects(PECOFFLinkingContext &);
-  void addSupportCOFFImportLibraries(PECOFFLinkingContext &);
   void addSupportMachOObjects(MachOLinkingContext &);
 
   /// To convert between kind values and names, the registry walks the list

Modified: lld/trunk/include/lld/Core/Writer.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Writer.h?rev=262160&r1=262159&r2=262160&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Writer.h (original)
+++ lld/trunk/include/lld/Core/Writer.h Sat Feb 27 18:37:52 2016
@@ -18,7 +18,6 @@ namespace lld {
 class File;
 class LinkingContext;
 class MachOLinkingContext;
-class PECOFFLinkingContext;
 
 /// \brief The Writer is an abstract class for writing object files, shared
 /// library files, and executable files.  Each file format (e.g. ELF, mach-o,
@@ -41,7 +40,6 @@ protected:
 };
 
 std::unique_ptr<Writer> createWriterMachO(const MachOLinkingContext &);
-std::unique_ptr<Writer> createWriterPECOFF(const PECOFFLinkingContext &);
 std::unique_ptr<Writer> createWriterYAML(const LinkingContext &);
 } // end namespace lld
 

Modified: lld/trunk/include/lld/Driver/Driver.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/Driver.h?rev=262160&r1=262159&r2=262160&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/Driver.h (original)
+++ lld/trunk/include/lld/Driver/Driver.h Sat Feb 27 18:37:52 2016
@@ -29,7 +29,6 @@ namespace lld {
 class LinkingContext;
 class CoreLinkingContext;
 class MachOLinkingContext;
-class PECOFFLinkingContext;
 
 typedef std::vector<std::unique_ptr<File>> FileVector;
 




More information about the llvm-commits mailing list