LLVM 20.0.0git
|
A symbol query that returns results via a callback when results are ready. More...
#include "llvm/ExecutionEngine/Orc/Core.h"
Public Member Functions | |
AsynchronousSymbolQuery (const SymbolLookupSet &Symbols, SymbolState RequiredState, SymbolsResolvedCallback NotifyComplete) | |
Create a query for the given symbols. | |
void | notifySymbolMetRequiredState (const SymbolStringPtr &Name, ExecutorSymbolDef Sym) |
Notify the query that a requested symbol has reached the required state. | |
bool | isComplete () const |
Returns true if all symbols covered by this query have been resolved. | |
Friends | |
class | ExecutionSession |
class | InProgressFullLookupState |
class | JITDylib |
class | JITSymbolResolverAdapter |
class | MaterializationResponsibility |
A symbol query that returns results via a callback when results are ready.
makes a callback when all symbols are available.
llvm::orc::AsynchronousSymbolQuery::AsynchronousSymbolQuery | ( | const SymbolLookupSet & | Symbols, |
SymbolState | RequiredState, | ||
SymbolsResolvedCallback | NotifyComplete | ||
) |
Create a query for the given symbols.
The NotifyComplete callback will be called once all queried symbols reach the given minimum state.
Definition at line 180 of file Core.cpp.
References assert(), Name, and llvm::orc::Resolved.
|
inline |
void llvm::orc::AsynchronousSymbolQuery::notifySymbolMetRequiredState | ( | const SymbolStringPtr & | Name, |
ExecutorSymbolDef | Sym | ||
) |
Notify the query that a requested symbol has reached the required state.
Definition at line 194 of file Core.cpp.
References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), I, Name, and Sym.
|
friend |
|
friend |
|
friend |