LLVM 22.0.0git
ExecutorResolver.h
Go to the documentation of this file.
1//===----- ExecutorResolver.h - Symbol resolver -----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Executor Symbol resolver.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORRESOLVER_H
14#define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORRESOLVER_H
15
17
21
22namespace llvm::orc {
23
34
36public:
38
39 void
41 ExecutorResolver::YieldResolveResultFn &&OnResolve) override;
42
43private:
45};
46
47} // end namespace llvm::orc
48#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORRESOLVER_H
This file provides a collection of function (or more generally, callable) type erasure utilities supp...
#define H(x, y, z)
Definition MD5.cpp:57
Tagged union holding either a T or a Error.
Definition Error.h:485
void resolveAsync(const RemoteSymbolLookupSet &L, ExecutorResolver::YieldResolveResultFn &&OnResolve) override
DylibSymbolResolver(tpctypes::DylibHandle H)
virtual void resolveAsync(const RemoteSymbolLookupSet &L, YieldResolveResultFn &&OnResolve)=0
virtual ~ExecutorResolver()=default
Expected< std::vector< std::optional< ExecutorSymbolDef > > > ResolveResult
unique_function< void(ResolveResult)> YieldResolveResultFn
unique_function is a type-erasing functor similar to std::function.
ExecutorAddr DylibHandle
A handle used to represent a loaded dylib in the target process.
std::vector< RemoteSymbolLookupSetElement > RemoteSymbolLookupSet