diff options
Diffstat (limited to 'include/llvm/ExecutionEngine/Orc/NullResolver.h')
-rw-r--r-- | include/llvm/ExecutionEngine/Orc/NullResolver.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/Orc/NullResolver.h b/include/llvm/ExecutionEngine/Orc/NullResolver.h index 957b94912b3f..3dd3cfe05b8d 100644 --- a/include/llvm/ExecutionEngine/Orc/NullResolver.h +++ b/include/llvm/ExecutionEngine/Orc/NullResolver.h @@ -15,14 +15,23 @@ #ifndef LLVM_EXECUTIONENGINE_ORC_NULLRESOLVER_H #define LLVM_EXECUTIONENGINE_ORC_NULLRESOLVER_H +#include "llvm/ExecutionEngine/Orc/Legacy.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" namespace llvm { namespace orc { +class NullResolver : public SymbolResolver { +public: + SymbolFlagsMap lookupFlags(const SymbolNameSet &Symbols) override; + + SymbolNameSet lookup(std::shared_ptr<AsynchronousSymbolQuery> Query, + SymbolNameSet Symbols) override; +}; + /// SymbolResolver impliementation that rejects all resolution requests. /// Useful for clients that have no cross-object fixups. -class NullResolver : public JITSymbolResolver { +class NullLegacyResolver : public LegacyJITSymbolResolver { public: JITSymbol findSymbol(const std::string &Name) final; |