13#ifndef LLVM_EXECUTIONENGINE_ORC_DYLIBMANAGER_H
14#define LLVM_EXECUTIONENGINE_ORC_DYLIBMANAGER_H
53 std::promise<MSVCPExpected<std::vector<tpctypes::LookupResult>>> RP;
54 auto RF = RP.get_future();
56 [&RP](
auto Result) { RP.set_value(std::move(
Result)); });
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Tagged union holding either a T or a Error.
virtual void lookupSymbolsAsync(ArrayRef< LookupRequest > Request, SymbolLookupCompleteFn F)=0
Search for symbols in the target process.
Expected< std::vector< tpctypes::LookupResult > > lookupSymbols(ArrayRef< LookupRequest > Request)
Search for symbols in the target process.
virtual Expected< tpctypes::DylibHandle > loadDylib(const char *DylibPath)=0
Load the dynamic library at the given path and return a handle to it.
Represents an address in the executor process.
A set of symbols to look up, each associated with a SymbolLookupFlags value.
unique_function is a type-erasing functor similar to std::function.
A pair of a dylib and a set of symbols to be looked up.
tpctypes::DylibHandle Handle
const SymbolLookupSet & Symbols
LookupRequest(tpctypes::DylibHandle Handle, const SymbolLookupSet &Symbols)