LLVM
15.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< ExecutorAddr > > | lookup (tpctypes::DylibHandle H, const RemoteSymbolLookupSet &L) |
Error | shutdown () override |
void | addBootstrapSymbols (StringMap< ExecutorAddr > &M) override |
![]() | |
virtual | ~ExecutorBootstrapService () |
Simple page-based allocator.
Definition at line 35 of file SimpleExecutorDylibManager.h.
|
virtual |
Definition at line 20 of file SimpleExecutorDylibManager.cpp.
References assert(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().
|
overridevirtual |
Implements llvm::orc::ExecutorBootstrapService.
Definition at line 98 of file SimpleExecutorDylibManager.cpp.
References llvm::orc::ExecutorAddr::fromPtr(), M, llvm::orc::rt::SimpleExecutorDylibManagerInstanceName, llvm::orc::rt::SimpleExecutorDylibManagerLookupWrapperName, and llvm::orc::rt::SimpleExecutorDylibManagerOpenWrapperName.
Expected< std::vector< ExecutorAddr > > 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::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::formatv(), llvm::orc::ExecutorAddr::fromPtr(), H, I, llvm::inconvertibleErrorCode(), and llvm::Lock.
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::sys::DynamicLibrary::getPermanentLibrary(), llvm::inconvertibleErrorCode(), llvm::Lock, Mode, and move.
|
overridevirtual |
Implements llvm::orc::ExecutorBootstrapService.
Definition at line 86 of file SimpleExecutorDylibManager.cpp.
References DM, llvm::Lock, llvm::Error::success(), and std::swap().