|
LLVM 22.0.0git
|
Manages library metadata and state for symbol resolution. More...
#include "llvm/ExecutionEngine/Orc/TargetProcess/LibraryResolver.h"
Classes | |
| class | FilteredView |
| A read-only view of libraries filtered by state and kind. More... | |
Public Types | |
| using | LibraryVisitor = std::function<bool(const LibraryInfo &)> |
| using | LibraryFilterFn = std::function<bool(const LibraryInfo &)> |
Public Member Functions | |
| LibraryManager ()=default | |
| ~LibraryManager ()=default | |
| bool | addLibrary (std::string Path, PathType Kind, std::optional< BloomFilter > Filter=std::nullopt) |
| bool | hasLibrary (StringRef Path) const |
| void | removeLibrary (StringRef Path) |
| void | markLoaded (StringRef Path) |
| void | markUnloaded (StringRef Path) |
| void | markQueried (StringRef Path) |
| const LibraryInfo * | getLibrary (StringRef Path) const |
| FilteredView | getView (LibState S, PathType K) const |
| void | getLibraries (LibState S, PathType K, std::vector< const LibraryInfo * > &Outs, LibraryFilterFn Filter=nullptr) const |
| LibraryCursor | getCursor (PathType K, LibState S) const |
| void | forEachLibrary (const LibraryVisitor &visitor) const |
| bool | isLoaded (StringRef Path) const |
| bool | isQueried (StringRef Path) const |
| void | clear () |
Manages library metadata and state for symbol resolution.
Tracks libraries by load state and kind (user/system), and stores associated Bloom filters and hash maps to speed up symbol lookups. Thread-safe for concurrent access.
Definition at line 155 of file LibraryResolver.h.
| using llvm::orc::LibraryManager::LibraryFilterFn = std::function<bool(const LibraryInfo &)> |
Definition at line 282 of file LibraryResolver.h.
| using llvm::orc::LibraryManager::LibraryVisitor = std::function<bool(const LibraryInfo &)> |
Definition at line 219 of file LibraryResolver.h.
|
default |
|
default |
|
inline |
Definition at line 224 of file LibraryResolver.h.
References llvm::Filter, llvm::Lib, and llvm::orc::Unloaded.
|
inline |
Definition at line 323 of file LibraryResolver.h.
|
inline |
Definition at line 301 of file LibraryResolver.h.
References _.
|
inline |
Definition at line 297 of file LibraryResolver.h.
|
inline |
Definition at line 283 of file LibraryResolver.h.
References _, llvm::Filter, and Info.
|
inline |
Definition at line 270 of file LibraryResolver.h.
|
inline |
Definition at line 277 of file LibraryResolver.h.
Definition at line 237 of file LibraryResolver.h.
Definition at line 309 of file LibraryResolver.h.
References llvm::orc::Loaded.
Definition at line 316 of file LibraryResolver.h.
References llvm::orc::Queried.
|
inline |
Definition at line 252 of file LibraryResolver.h.
References llvm::orc::Loaded.
|
inline |
Definition at line 264 of file LibraryResolver.h.
References llvm::orc::Queried.
|
inline |
Definition at line 258 of file LibraryResolver.h.
References llvm::orc::Unloaded.
|
inline |
Definition at line 244 of file LibraryResolver.h.
References I.