diff --git a/lld/include/lld/Core/Reader.h b/lld/include/lld/Core/Reader.h index 6b3d049a5d26..03e2a9ecafb7 100644 --- a/lld/include/lld/Core/Reader.h +++ b/lld/include/lld/Core/Reader.h @@ -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 diff --git a/lld/include/lld/Core/Writer.h b/lld/include/lld/Core/Writer.h index 3d9c8369b797..398be9e988e0 100644 --- a/lld/include/lld/Core/Writer.h +++ b/lld/include/lld/Core/Writer.h @@ -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 createWriterMachO(const MachOLinkingContext &); -std::unique_ptr createWriterPECOFF(const PECOFFLinkingContext &); std::unique_ptr createWriterYAML(const LinkingContext &); } // end namespace lld diff --git a/lld/include/lld/Driver/Driver.h b/lld/include/lld/Driver/Driver.h index c08fcce1e7d0..04baa12415b5 100644 --- a/lld/include/lld/Driver/Driver.h +++ b/lld/include/lld/Driver/Driver.h @@ -29,7 +29,6 @@ namespace lld { class LinkingContext; class CoreLinkingContext; class MachOLinkingContext; -class PECOFFLinkingContext; typedef std::vector> FileVector;