summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/SymbolTable.cpp2
-rw-r--r--lld/ELF/SymbolTable.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp
index 5e1e8e3a75a..bad75f7c4cc 100644
--- a/lld/ELF/SymbolTable.cpp
+++ b/lld/ELF/SymbolTable.cpp
@@ -27,8 +27,6 @@ using namespace llvm::ELF;
using namespace lld;
using namespace lld::elf2;
-template <class ELFT> SymbolTable<ELFT>::SymbolTable() {}
-
// All input object files must be for the same architecture
// (e.g. it does not make sense to link x86 object files with
// MIPS object files.) This function checks for that error.
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index 117e9572583..659c9842123 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -35,8 +35,6 @@ template <class ELFT> class SymbolTable {
typedef typename llvm::object::ELFFile<ELFT>::uintX_t uintX_t;
public:
- SymbolTable();
-
void addFile(std::unique_ptr<InputFile> File);
const llvm::MapVector<StringRef, Symbol *> &getSymbols() const {
OpenPOWER on IntegriCloud