diff options
Diffstat (limited to 'ELF/Driver.h')
-rw-r--r-- | ELF/Driver.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ELF/Driver.h b/ELF/Driver.h index bfae2b3f4dfa..720ef46dc710 100644 --- a/ELF/Driver.h +++ b/ELF/Driver.h @@ -26,14 +26,12 @@ void link(ArrayRef<const char *> Args); class LinkerDriver { public: void main(ArrayRef<const char *> Args); - void createFiles(llvm::opt::InputArgList &Args); - template <class ELFT> void link(llvm::opt::InputArgList &Args); - void addFile(StringRef Path); private: - template <template <class> class T> - std::unique_ptr<InputFile> createELFInputFile(MemoryBufferRef MB); + void readConfigs(llvm::opt::InputArgList &Args); + void createFiles(llvm::opt::InputArgList &Args); + template <class ELFT> void link(llvm::opt::InputArgList &Args); llvm::BumpPtrAllocator Alloc; bool WholeArchive = false; |