|
LLVM 23.0.0git
|
#include "llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h"
Classes | |
| struct | SymbolAddrs |
| Function addresses for memory access. More... | |
Public Types | |
| using | SymbolLookupCompleteFn |
| Public Types inherited from llvm::orc::DylibManager | |
| using | SymbolLookupCompleteFn |
Static Public Member Functions | |
| static LLVM_ABI Expected< EPCGenericDylibManager > | CreateWithDefaultBootstrapSymbols (ExecutorProcessControl &EPC) |
| Create an EPCGenericMemoryAccess instance from a given set of function addrs. | |
Definition at line 31 of file EPCGenericDylibManager.h.
Definition at line 71 of file EPCGenericDylibManager.h.
|
inline |
Create an EPCGenericMemoryAccess instance from a given set of function addrs.
Definition at line 47 of file EPCGenericDylibManager.h.
|
static |
Create an EPCGenericMemoryAccess instance from a given set of function addrs.
Definition at line 63 of file EPCGenericDylibManager.cpp.
Referenced by llvm::orc::SimpleRemoteEPC::createDefaultDylibMgr().
|
overridevirtual |
Load the dynamic library at the given path and return a handle to it.
If DylibPath is null this function will return the global handle for the target process.
Implements llvm::orc::DylibManager.
Definition at line 123 of file EPCGenericDylibManager.cpp.
References loadDylib(), and open().
Referenced by loadDylib().
|
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 103 of file EPCGenericDylibManager.cpp.
References llvm::cantFail(), H, Lookup(), lookupAsync(), and llvm::orc::Result.
| 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, Lookup(), lookupAsync(), and llvm::orc::Result.
Referenced by lookup(), lookup(), lookupAsync(), lookupAsync(), and llvm::orc::lookupSymbolsAsyncHelper().
|
overridevirtual |
Search for symbols in the target process.
Implements llvm::orc::DylibManager.
Definition at line 154 of file EPCGenericDylibManager.cpp.
References lookupSymbolsAsync(), and llvm::orc::lookupSymbolsAsyncHelper().
Referenced by lookupSymbolsAsync().
| 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.
References H, Mode, and open().
Referenced by loadDylib(), and open().