|
LLVM 23.0.0git
|
#include "llvm/ExecutionEngine/Orc/DylibManager.h"
Public Types | |
| using | SymbolLookupCompleteFn |
Public Member Functions | |
| virtual | ~DylibManager () |
| virtual Expected< tpctypes::DylibHandle > | loadDylib (const char *DylibPath)=0 |
| Load the dynamic library at the given path and return a handle to it. | |
| Expected< tpctypes::LookupResult > | lookupSymbols (tpctypes::DylibHandle H, const SymbolLookupSet &Symbols) |
| Search for symbols in the target process. | |
| virtual void | lookupSymbolsAsync (tpctypes::DylibHandle H, const SymbolLookupSet &Symbols, SymbolLookupCompleteFn F)=0 |
| Search for symbols in the target process. | |
Definition at line 27 of file DylibManager.h.
Definition at line 51 of file DylibManager.h.
|
virtualdefault |
|
pure virtual |
Load the dynamic library at the given path and return a handle to it.
If LibraryPath is null this function will return the global handle for the target process.
Implemented in llvm::orc::EPCGenericDylibManager, and llvm::orc::SelfExecutorProcessControl::InProcessDylibManager.
|
inline |
Search for symbols in the target process.
The result of the lookup is an array of target addresses that correspond to the lookup order. If a required symbol is not found then this method will return an error. If a weakly referenced symbol is not found then it will be assigned a '0' value.
Definition at line 43 of file DylibManager.h.
References H, lookupSymbolsAsync(), and llvm::orc::Result.
|
pure virtual |
Search for symbols in the target process.
The result of the lookup is an array of target addresses that correspond to the lookup order. If a required symbol is not found then this method will return an error. If a weakly referenced symbol is not found then it will be assigned a '0' value.
Implemented in llvm::orc::EPCGenericDylibManager, and llvm::orc::SelfExecutorProcessControl::InProcessDylibManager.
Referenced by lookupSymbols().