LLVM
8.0.1
|
An ORC SymbolResolver implementation that uses a legacy findSymbol-like function to perform lookup;. More...
#include "llvm/ExecutionEngine/Orc/Legacy.h"
Public Types | |
using | ErrorReporter = std::function< void(Error)> |
Public Member Functions | |
LegacyLookupFnResolver (ExecutionSession &ES, LegacyLookupFn LegacyLookup, ErrorReporter ReportError) | |
SymbolNameSet | getResponsibilitySet (const SymbolNameSet &Symbols) final |
Returns the subset of the given symbols that the caller is responsible for materializing. More... | |
SymbolNameSet | lookup (std::shared_ptr< AsynchronousSymbolQuery > Query, SymbolNameSet Symbols) final |
For each symbol in Symbols that can be found, assigns that symbols value in Query. More... | |
Public Member Functions inherited from llvm::orc::SymbolResolver | |
virtual | ~SymbolResolver ()=default |
An ORC SymbolResolver implementation that uses a legacy findSymbol-like function to perform lookup;.
using llvm::orc::LegacyLookupFnResolver< LegacyLookupFn >::ErrorReporter = std::function<void(Error)> |
|
inline |
|
inlinefinalvirtual |
Returns the subset of the given symbols that the caller is responsible for materializing.
Implements llvm::orc::SymbolResolver.
Definition at line 187 of file Legacy.h.
References llvm::orc::getResponsibilitySetWithLegacyFn(), and ReportError().
|
inlinefinalvirtual |
For each symbol in Symbols that can be found, assigns that symbols value in Query.
Returns the set of symbols that could not be found.
Implements llvm::orc::SymbolResolver.
Definition at line 197 of file Legacy.h.
References llvm::orc::lookupWithLegacyFn(), Query(), and ReportError().