LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h"
Classes | |
struct | SymbolAddrs |
Function addresses for memory access. More... | |
Public Types | |
using | SymbolLookupCompleteFn = unique_function< void(Expected< std::vector< ExecutorSymbolDef > >)> |
Public Member Functions | |
EPCGenericDylibManager (ExecutorProcessControl &EPC, SymbolAddrs SAs) | |
Create an EPCGenericMemoryAccess instance from a given set of function addrs. | |
Expected< tpctypes::DylibHandle > | open (StringRef Path, uint64_t Mode) |
Loads the dylib with the given name. | |
Expected< std::vector< ExecutorSymbolDef > > | lookup (tpctypes::DylibHandle H, const SymbolLookupSet &Lookup) |
Looks up symbols within the given dylib. | |
Expected< std::vector< ExecutorSymbolDef > > | lookup (tpctypes::DylibHandle H, const RemoteSymbolLookupSet &Lookup) |
Looks up symbols within the given dylib. | |
void | lookupAsync (tpctypes::DylibHandle H, const SymbolLookupSet &Lookup, SymbolLookupCompleteFn Complete) |
Looks up symbols within the given dylib. | |
void | lookupAsync (tpctypes::DylibHandle H, const RemoteSymbolLookupSet &Lookup, SymbolLookupCompleteFn Complete) |
Looks up symbols within the given dylib. | |
Static Public Member Functions | |
static Expected< EPCGenericDylibManager > | CreateWithDefaultBootstrapSymbols (ExecutorProcessControl &EPC) |
Create an EPCGenericMemoryAccess instance from a given set of function addrs. | |
Definition at line 30 of file EPCGenericDylibManager.h.
using llvm::orc::EPCGenericDylibManager::SymbolLookupCompleteFn = unique_function<void(Expected<std::vector<ExecutorSymbolDef> >)> |
Definition at line 70 of file EPCGenericDylibManager.h.
|
inline |
Create an EPCGenericMemoryAccess instance from a given set of function addrs.
Definition at line 46 of file EPCGenericDylibManager.h.
|
static |
Create an EPCGenericMemoryAccess instance from a given set of function addrs.
Definition at line 63 of file EPCGenericDylibManager.cpp.
References llvm::orc::ExecutorProcessControl::getBootstrapSymbols().
|
inline |
Looks up symbols within the given dylib.
Definition at line 63 of file EPCGenericDylibManager.h.
References H, Lookup(), and lookupAsync().
|
inline |
Looks up symbols within the given dylib.
Definition at line 54 of file EPCGenericDylibManager.h.
References H, Lookup(), and lookupAsync().
void llvm::orc::EPCGenericDylibManager::lookupAsync | ( | tpctypes::DylibHandle | H, |
const RemoteSymbolLookupSet & | Lookup, | ||
SymbolLookupCompleteFn | Complete | ||
) |
Looks up symbols within the given dylib.
Definition at line 102 of file EPCGenericDylibManager.cpp.
References llvm::cantFail(), H, and Lookup().
void llvm::orc::EPCGenericDylibManager::lookupAsync | ( | tpctypes::DylibHandle | H, |
const SymbolLookupSet & | Lookup, | ||
SymbolLookupCompleteFn | Complete | ||
) |
Looks up symbols within the given dylib.
Definition at line 84 of file EPCGenericDylibManager.cpp.
References llvm::cantFail(), H, and Lookup().
Referenced by lookup(), and llvm::orc::lookupSymbolsAsyncHelper().
Expected< tpctypes::DylibHandle > llvm::orc::EPCGenericDylibManager::open | ( | StringRef | Path, |
uint64_t | Mode | ||
) |
Loads the dylib with the given name.
Definition at line 74 of file EPCGenericDylibManager.cpp.