LLVM: llvm::orc::DylibManager Class Reference (original) (raw)

#include "[llvm/ExecutionEngine/Orc/DylibManager.h](DylibManager%5F8h%5Fsource.html)"

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< std::vector< tpctypes::LookupResult > > lookupSymbols (ArrayRef< LookupRequest > Request)
Search for symbols in the target process.
virtual void lookupSymbolsAsync (ArrayRef< LookupRequest > Request, SymbolLookupCompleteFn F)=0
Search for symbols in the target process.

Definition at line 29 of file DylibManager.h.

SymbolLookupCompleteFn

Initial value:

Tagged union holding either a T or a Error.

unique_function is a type-erasing functor similar to std::function.

Definition at line 61 of file DylibManager.h.

llvm::orc::DylibManager::~DylibManager ( ) virtualdefault

loadDylib()

lookupSymbols()

Search for symbols in the target process.

The result of the lookup is a 2-dimensional 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 be assigned a '0' value.

Definition at line 53 of file DylibManager.h.

References lookupSymbolsAsync(), and llvm::orc::Result.

Referenced by llvm::orc::lookupAndRecordAddrs().

lookupSymbolsAsync()

Search for symbols in the target process.

The result of the lookup is a 2-dimensional 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 be assigned a '0' value.

References F.

Referenced by lookupSymbols().


The documentation for this class was generated from the following files: