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 20 of file SimpleExecutorDylibManager.cpp.
References assert(), and llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty().
|
overridevirtual |
Implements llvm::orc::ExecutorBootstrapService.
Definition at line 93 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 44 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 25 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 81 of file SimpleExecutorDylibManager.cpp.
References llvm::Error::success(), and std::swap().