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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/COFF/SymbolTable.h b/lld/COFF/SymbolTable.h
index a1cf3408271f..62f14b09f525 100644
--- a/lld/COFF/SymbolTable.h
+++ b/lld/COFF/SymbolTable.h
@@ -52,6 +52,11 @@ public:
// different symbol). Returns a nullptr if not found.
Defined *find(StringRef Name);
+ // Find a symbol assuming that Name is a function name.
+ // Not only a given string but its mangled names (in MSVC C++ manner)
+ // will be searched.
+ std::pair<StringRef, Symbol *> findMangled(StringRef Name);
+
// Windows specific -- `main` is not the only main function in Windows.
// You can choose one from these four -- {w,}{WinMain,main}.
// There are four different entry point functions for them,