LLVM: llvm::orc::LibraryResolver::SymbolQuery Class Reference (original) (raw)

Tracks a set of symbols and the libraries where they are resolved. More...

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

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

Detailed Description

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 326 of file LibraryResolver.h.

Constructor & Destructor Documentation

llvm::orc::LibraryResolver::SymbolQuery::SymbolQuery ( const std::vector< std::string > & Symbols) inlineexplicit

Member Function Documentation

allResolved()

bool llvm::orc::LibraryResolver::SymbolQuery::allResolved ( ) const inline

getAllResults()

std::vector< const Result * > llvm::orc::LibraryResolver::SymbolQuery::getAllResults ( ) const inline

getResolvedLib()

std::optional< StringRef > llvm::orc::LibraryResolver::SymbolQuery::getResolvedLib ( StringRef Sym) const inline

getUnresolvedSymbols()

SmallVector< StringRef > llvm::orc::LibraryResolver::SymbolQuery::getUnresolvedSymbols ( ) const inline

hasUnresolved()

bool llvm::orc::LibraryResolver::SymbolQuery::hasUnresolved ( ) const inline

isResolved()

bool llvm::orc::LibraryResolver::SymbolQuery::isResolved ( StringRef Sym) const inline

resolve()

void llvm::orc::LibraryResolver::SymbolQuery::resolve ( StringRef Sym, const std::string & LibPath ) inline

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