|
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... | |
| class | LibraryInfo |
Public Types | |
| enum class | LibState : uint8_t { Unloaded = 0 , Loaded = 1 , Queried = 2 } |
| using | LibraryVisitor = 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 | markQueried (StringRef Path) |
| std::shared_ptr< LibraryInfo > | getLibrary (StringRef Path) |
| FilteredView | getView (LibState S, PathType K) 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 34 of file LibraryResolver.h.
| using llvm::orc::LibraryManager::LibraryVisitor = std::function<bool(const LibraryInfo &)> |
Definition at line 159 of file LibraryResolver.h.
|
strong |
| Enumerator | |
|---|---|
| Unloaded | |
| Loaded | |
| Queried | |
Definition at line 36 of file LibraryResolver.h.
|
default |
|
default |
|
inline |
Definition at line 164 of file LibraryResolver.h.
References llvm::Filter, and Unloaded.
|
inline |
Definition at line 236 of file LibraryResolver.h.
|
inline |
Definition at line 214 of file LibraryResolver.h.
References _.
|
inline |
Definition at line 202 of file LibraryResolver.h.
|
inline |
Definition at line 209 of file LibraryResolver.h.
Definition at line 175 of file LibraryResolver.h.
Definition at line 222 of file LibraryResolver.h.
References Loaded.
Definition at line 229 of file LibraryResolver.h.
References Queried.
|
inline |
Definition at line 190 of file LibraryResolver.h.
References Loaded.
|
inline |
Definition at line 196 of file LibraryResolver.h.
References Queried.
|
inline |
Definition at line 182 of file LibraryResolver.h.
References I.