LLVM: llvm::orc::LibraryManager Class Reference (original) (raw)

Manages library metadata and state for symbol resolution. More...

#include "[llvm/ExecutionEngine/Orc/TargetProcess/LibraryResolver.h](LibraryResolver%5F8h%5Fsource.html)"

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 getLibraries (LibState S, PathType K, std::vector< std::shared_ptr< LibraryInfo > > &Outs, LibraryFilterFn Filter=nullptr) 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 33 of file LibraryResolver.h.

LibraryFilterFn

LibraryVisitor

LibState

llvm::orc::LibraryManager::LibraryManager ( ) default

~LibraryManager()

llvm::orc::LibraryManager::~LibraryManager ( ) default

addLibrary()

bool llvm::orc::LibraryManager::addLibrary ( std::string Path, PathType Kind, std::optional< BloomFilter > Filter = std::nullopt ) inline

clear()

void llvm::orc::LibraryManager::clear ( ) inline

forEachLibrary()

void llvm::orc::LibraryManager::forEachLibrary ( const LibraryVisitor & visitor) const inline

getLibraries()

void llvm::orc::LibraryManager::getLibraries ( LibState S, PathType K, std::vector< std::shared_ptr< LibraryInfo > > & Outs, LibraryFilterFn Filter = nullptr ) const inline

getLibrary()

getView()

hasLibrary()

bool llvm::orc::LibraryManager::hasLibrary ( StringRef Path) const inline

isLoaded()

bool llvm::orc::LibraryManager::isLoaded ( StringRef Path) const inline

isQueried()

bool llvm::orc::LibraryManager::isQueried ( StringRef Path) const inline

markLoaded()

void llvm::orc::LibraryManager::markLoaded ( StringRef Path) inline

markQueried()

void llvm::orc::LibraryManager::markQueried ( StringRef Path) inline

removeLibrary()

void llvm::orc::LibraryManager::removeLibrary ( StringRef Path) inline

The documentation for this class was generated from the following file: