Delete dead code. NFC.

llvm-svn: 319274
This commit is contained in:
Rafael Espindola 2017-11-29 01:55:03 +00:00
parent b448206cb6
commit 09b53f6fd8
2 changed files with 0 additions and 15 deletions

View File

@ -34,7 +34,6 @@ class Symbol;
class InputSectionBase;
class InputSection;
class OutputSection;
class OutputSectionFactory;
class InputSectionBase;
class SectionBase;

View File

@ -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,