summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/SymbolTable.h3
-rw-r--r--lld/lib/Core/SymbolTable.cpp4
2 files changed, 0 insertions, 7 deletions
diff --git a/lld/include/lld/Core/SymbolTable.h b/lld/include/lld/Core/SymbolTable.h
index c160b224b4c..f218c6eecc6 100644
--- a/lld/include/lld/Core/SymbolTable.h
+++ b/lld/include/lld/Core/SymbolTable.h
@@ -61,9 +61,6 @@ public:
/// returns vector of tentative definitions
std::vector<StringRef> tentativeDefinitions();
- /// @brief count of by-name entries in symbol table
- unsigned int size();
-
/// @brief add atom to replacement table
void addReplacement(const Atom *replaced, const Atom *replacement);
diff --git a/lld/lib/Core/SymbolTable.cpp b/lld/lib/Core/SymbolTable.cpp
index 51ae9ceb73a..f3f2da9262e 100644
--- a/lld/lib/Core/SymbolTable.cpp
+++ b/lld/lib/Core/SymbolTable.cpp
@@ -362,10 +362,6 @@ bool SymbolTable::isCoalescedAway(const Atom *atom) {
return _replacedAtoms.count(atom) > 0;
}
-unsigned int SymbolTable::size() {
- return _nameTable.size();
-}
-
std::vector<const UndefinedAtom *> SymbolTable::undefines() {
std::vector<const UndefinedAtom *> ret;
for (auto it : _nameTable) {
OpenPOWER on IntegriCloud