LLVM
8.0.1
|
SymbolResolver is a composable interface for looking up symbol flags and addresses using the AsynchronousSymbolQuery type. More...
#include "llvm/ExecutionEngine/Orc/Legacy.h"
Public Member Functions | |
virtual | ~SymbolResolver ()=default |
virtual SymbolNameSet | getResponsibilitySet (const SymbolNameSet &Symbols)=0 |
Returns the subset of the given symbols that the caller is responsible for materializing. More... | |
virtual SymbolNameSet | lookup (std::shared_ptr< AsynchronousSymbolQuery > Query, SymbolNameSet Symbols)=0 |
For each symbol in Symbols that can be found, assigns that symbols value in Query. More... | |
SymbolResolver is a composable interface for looking up symbol flags and addresses using the AsynchronousSymbolQuery type.
It will eventually replace the LegacyJITSymbolResolver interface as the stardard ORC symbol resolver type.
FIXME: SymbolResolvers should go away and be replaced with VSOs with defenition generators.
|
virtualdefault |
|
pure virtual |
Returns the subset of the given symbols that the caller is responsible for materializing.
Implemented in llvm::orc::LegacyLookupFnResolver< LegacyLookupFn >, llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >, and llvm::orc::NullResolver.
Referenced by llvm::orc::JITSymbolResolverAdapter::getResponsibilitySet().
|
pure virtual |
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.
Implemented in llvm::orc::LegacyLookupFnResolver< LegacyLookupFn >, llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >, and llvm::orc::NullResolver.