Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/SymbolTable.h')
-rw-r--r--lld/COFF/SymbolTable.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lld/COFF/SymbolTable.h b/lld/COFF/SymbolTable.h
index 188b2382fb4b..996732296aa9 100644
--- a/lld/COFF/SymbolTable.h
+++ b/lld/COFF/SymbolTable.h
@@ -53,12 +53,8 @@ public:
// Returns a list of chunks of selected symbols.
std::vector<Chunk *> getChunks();
- // Returns a symbol for a given name. It's not guaranteed that the
- // returned symbol actually has the same name (because of various
- // mechanisms to allow aliases, a name can be resolved to a
- // different symbol). Returns a nullptr if not found.
- Defined *find(StringRef Name);
- Symbol *findSymbol(StringRef Name);
+ // Returns a symbol for a given name. Returns a nullptr if not found.
+ Symbol *find(StringRef Name);
// Occasionally we have to resolve an undefined symbol to its
// mangled symbol. This function tries to find a mangled name