|
LLVM 22.0.0git
|
Scans libraries and resolves Symbols across user and system paths. More...
#include "llvm/ExecutionEngine/Orc/TargetProcess/LibraryResolver.h"
Classes | |
| struct | Setup |
| class | SymbolEnumerator |
| class | SymbolQuery |
| Tracks a set of symbols and the libraries where they are resolved. More... | |
Public Types | |
| using | OnSearchComplete = unique_function<void(SymbolQuery &)> |
Public Member Functions | |
| LibraryResolver ()=delete | |
| LibraryResolver (const Setup &S) | |
| ~LibraryResolver ()=default | |
| void | dump () |
| void | searchSymbolsInLibraries (std::vector< std::string > &SymList, OnSearchComplete OnComplete, const SearchConfig &Config=SearchConfig()) |
Friends | |
| class | LibraryResolutionDriver |
Scans libraries and resolves Symbols across user and system paths.
Supports symbol enumeration and filtering via SymbolEnumerator, and tracks symbol resolution results through SymbolQuery. Thread-safe and uses LibraryScanHelper for efficient path resolution and caching.
Definition at line 293 of file LibraryResolver.h.
| using llvm::orc::LibraryResolver::OnSearchComplete = unique_function<void(SymbolQuery &)> |
Definition at line 422 of file LibraryResolver.h.
|
delete |
Definition at line 33 of file LibraryResolver.cpp.
|
default |
|
inline |
Definition at line 424 of file LibraryResolver.h.
References llvm::dbgs(), llvm::Lib, and llvm::orc::LibraryManager::Loaded.
| void llvm::orc::LibraryResolver::searchSymbolsInLibraries | ( | std::vector< std::string > & | SymList, |
| OnSearchComplete | OnComplete, | ||
| const SearchConfig & | Config = SearchConfig() ) |
Definition at line 278 of file LibraryResolver.cpp.
References llvm::orc::LibraryResolver::SymbolQuery::allResolved(), llvm::dbgs(), llvm::orc::LibraryResolver::SymbolQuery::getAllResults(), llvm::Lib, LLVM_DEBUG, llvm::orc::SearchConfig::Options, llvm::orc::SearchPolicy::Plan, llvm::orc::SearchConfig::Policy, and searchSymbolsInLibraries().
Referenced by searchSymbolsInLibraries().
|
friend |
Definition at line 294 of file LibraryResolver.h.
References LibraryResolutionDriver.
Referenced by LibraryResolutionDriver.