Delete dead code. NFC.
llvm-svn: 319274
This commit is contained in:
parent
b448206cb6
commit
09b53f6fd8
@ -34,7 +34,6 @@ class Symbol;
|
||||
class InputSectionBase;
|
||||
class InputSection;
|
||||
class OutputSection;
|
||||
class OutputSectionFactory;
|
||||
class InputSectionBase;
|
||||
class SectionBase;
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user