|
LLVM
7.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 SymbolNameSet &Symbols, SymbolsResolvedCallback NotifySymbolsResolved, SymbolsReadyCallback NotifySymbolsReady) | |
| Create a query for the given symbols, notify-resolved and notify-ready callbacks. More... | |
| void | resolve (const SymbolStringPtr &Name, JITEvaluatedSymbol Sym) |
| Set the resolved symbol information for the given symbol name. More... | |
| bool | isFullyResolved () const |
| Returns true if all symbols covered by this query have been resolved. More... | |
| void | handleFullyResolved () |
| Call the NotifySymbolsResolved callback. More... | |
| void | notifySymbolReady () |
| Notify the query that a requested symbol is ready for execution. More... | |
| bool | isFullyReady () const |
| Returns true if all symbols covered by this query are ready. More... | |
| void | handleFullyReady () |
| Calls the NotifySymbolsReady callback. More... | |
Friends | |
| class | ExecutionSessionBase |
| class | VSO |
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 SymbolNameSet & | Symbols, |
| SymbolsResolvedCallback | NotifySymbolsResolved, | ||
| SymbolsReadyCallback | NotifySymbolsReady | ||
| ) |
| void llvm::orc::AsynchronousSymbolQuery::handleFullyReady | ( | ) |
Calls the NotifySymbolsReady callback.
This should only be called if all symbols covered by this query are ready.
Definition at line 534 of file Core.cpp.
References assert(), and llvm::Error::success().
| void llvm::orc::AsynchronousSymbolQuery::handleFullyResolved | ( | ) |
|
inline |
|
inline |
| void llvm::orc::AsynchronousSymbolQuery::notifySymbolReady | ( | ) |
Notify the query that a requested symbol is ready for execution.
Definition at line 529 of file Core.cpp.
References assert().
Referenced by llvm::orc::lookupWithLegacyFn().
| void llvm::orc::AsynchronousSymbolQuery::resolve | ( | const SymbolStringPtr & | Name, |
| JITEvaluatedSymbol | Sym | ||
| ) |
Set the resolved symbol information for the given symbol name.
Definition at line 511 of file Core.cpp.
Referenced by llvm::orc::lookupWithLegacyFn().
|
friend |
1.8.13