diff options
-rw-r--r-- | lld/ELF/LinkerScript.h | 1 | ||||
-rw-r--r-- | lld/ELF/OutputSections.h | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 954ac089d6f..11131dda8e2 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -34,7 +34,6 @@ class Symbol; class InputSectionBase; class InputSection; class OutputSection; -class OutputSectionFactory; class InputSectionBase; class SectionBase; diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index c95cbbe23ce..e717bbc0450 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -136,20 +136,6 @@ struct Out { namespace lld { namespace elf { -// This class knows how to create an output section for a given -// input section. Output section type is determined by various -// factors, including input section's sh_flags, sh_type and -// linker scripts. -class OutputSectionFactory { -public: - OutputSectionFactory(); - ~OutputSectionFactory(); - - OutputSection *addInputSec(InputSectionBase *IS, StringRef OutsecName); - -private: - llvm::StringMap<OutputSection *> Map; -}; uint64_t getHeaderSize(); void sortByOrder(llvm::MutableArrayRef<InputSection *> In, |