LLVM 20.0.0git
|
Simple page-based allocator. More...
#include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h"
Public Member Functions | |
virtual | ~SimpleExecutorDylibManager () |
Expected< tpctypes::DylibHandle > | open (const std::string &Path, uint64_t Mode) |
Expected< std::vector< ExecutorSymbolDef > > | lookup (tpctypes::DylibHandle H, const RemoteSymbolLookupSet &L) |
Error | shutdown () override |
void | addBootstrapSymbols (StringMap< ExecutorAddr > &M) override |
Public Member Functions inherited from llvm::orc::ExecutorBootstrapService | |
virtual | ~ExecutorBootstrapService () |
virtual void | addBootstrapSymbols (StringMap< ExecutorAddr > &BootstrapSymbols)=0 |
virtual Error | shutdown ()=0 |
Simple page-based allocator.
Definition at line 36 of file SimpleExecutorDylibManager.h.
|
virtual |
Definition at line 19 of file SimpleExecutorDylibManager.cpp.
References assert(), and llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty().
|
overridevirtual |
Implements llvm::orc::ExecutorBootstrapService.
Definition at line 92 of file SimpleExecutorDylibManager.cpp.
References llvm::orc::ExecutorAddr::fromPtr(), llvm::orc::rt::SimpleExecutorDylibManagerInstanceName, llvm::orc::rt::SimpleExecutorDylibManagerLookupWrapperName, and llvm::orc::rt::SimpleExecutorDylibManagerOpenWrapperName.
Expected< std::vector< ExecutorSymbolDef > > llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::lookup | ( | tpctypes::DylibHandle | H, |
const RemoteSymbolLookupSet & | L | ||
) |
Definition at line 43 of file SimpleExecutorDylibManager.cpp.
References Addr, DL, E, llvm::JITSymbolFlags::Exported, llvm::orc::ExecutorAddr::fromPtr(), H, llvm::inconvertibleErrorCode(), and llvm::orc::Result.
Expected< tpctypes::DylibHandle > llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::open | ( | const std::string & | Path, |
uint64_t | Mode | ||
) |
Definition at line 24 of file SimpleExecutorDylibManager.cpp.
References DL, llvm::orc::ExecutorAddr::fromPtr(), llvm::sys::DynamicLibrary::getPermanentLibrary(), H, llvm::inconvertibleErrorCode(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), and Mode.
|
overridevirtual |
Implements llvm::orc::ExecutorBootstrapService.
Definition at line 80 of file SimpleExecutorDylibManager.cpp.
References llvm::Error::success(), and std::swap().