|
LLVM 22.0.0git
|
Tracks a set of symbols and the libraries where they are resolved. More...
#include "llvm/ExecutionEngine/Orc/TargetProcess/LibraryResolver.h"
Classes | |
| struct | Result |
| Holds the result for a single symbol. More... | |
Public Member Functions | |
| SymbolQuery (const std::vector< std::string > &Symbols) | |
| SmallVector< StringRef > | getUnresolvedSymbols () const |
| void | resolve (StringRef Sym, const std::string &LibPath) |
| bool | allResolved () const |
| bool | hasUnresolved () const |
| std::optional< StringRef > | getResolvedLib (StringRef Sym) const |
| bool | isResolved (StringRef Sym) const |
| std::vector< const Result * > | getAllResults () const |
Tracks a set of symbols and the libraries where they are resolved.
SymbolQuery is used to keep track of which symbols have been resolved to which libraries. It supports concurrent read/write access using a shared mutex, allowing multiple readers or a single writer at a time.
Definition at line 327 of file LibraryResolver.h.
|
inlineexplicit |
Definition at line 341 of file LibraryResolver.h.
|
inline |
Definition at line 367 of file LibraryResolver.h.
Referenced by llvm::orc::LibraryResolver::searchSymbolsInLibraries().
|
inline |
Definition at line 389 of file LibraryResolver.h.
References _.
Referenced by llvm::orc::LibraryResolver::searchSymbolsInLibraries().
|
inline |
Definition at line 375 of file LibraryResolver.h.
|
inline |
Definition at line 348 of file LibraryResolver.h.
References name, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 371 of file LibraryResolver.h.
Definition at line 383 of file LibraryResolver.h.
References llvm::StringRef::str().
|
inline |
Definition at line 358 of file LibraryResolver.h.