|
LLVM
10.0.0
|
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. More... | |
| void | notifySymbolMetRequiredState (const SymbolStringPtr &Name, JITEvaluatedSymbol Sym) |
| Notify the query that a requested symbol has reached the required state. More... | |
| void | dropSymbol (const SymbolStringPtr &Name) |
| Remove a symbol from the query. More... | |
| bool | isComplete () const |
| Returns true if all symbols covered by this query have been resolved. More... | |
| void | handleComplete () |
| Call the NotifyComplete callback. More... | |
Friends | |
| class | ExecutionSession |
| class | JITDylib |
| class | JITSymbolResolverAdapter |
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 355 of file Core.cpp.
References assert(), llvm::orc::Resolved, and llvm::orc::SymbolLookupSet::size().
|
inline |
| void llvm::orc::AsynchronousSymbolQuery::handleComplete | ( | ) |
|
inline |
| void llvm::orc::AsynchronousSymbolQuery::notifySymbolMetRequiredState | ( | const SymbolStringPtr & | Name, |
| JITEvaluatedSymbol | Sym | ||
| ) |
Notify the query that a requested symbol has reached the required state.
Definition at line 369 of file Core.cpp.
References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and I.
Referenced by llvm::orc::lookupWithLegacyFn().
|
friend |
|
friend |
1.8.13