summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r--lld/ELF/OutputSections.h14
1 files changed, 0 insertions, 14 deletions
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,
OpenPOWER on IntegriCloud