LLVM 24.0.0git
llvm::orc::rt_bootstrap Namespace Reference

Classes

class  ExecutorSharedMemoryMapperService
class  SimpleExecutorDylibManager
 Simple page-based allocator. More...
class  SimpleExecutorMemoryManager
 Simple page-based allocator. More...

Functions

LLVM_ABI void addRunAsFunctionWrappersTo (StringMap< ExecutorAddr > &M)
 Adds executor-side wrappers for the run-as function proxies.
LLVM_ABI void addTo (StringMap< ExecutorAddr > &M)
 Adds all default target-process bootstrap wrappers.
template<typename WriteT, typename SPSWriteT>
static llvm::orc::shared::CWrapperFunctionBuffer writeUIntsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer writePointersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer writeBuffersWrapper (const char *ArgData, size_t ArgSize)
template<typename ReadT>
static llvm::orc::shared::CWrapperFunctionBuffer readUIntsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer readPointersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer readBuffersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer readStringsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer runAsMainWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer runAsInt32VoidFunctionWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionBuffer runAsInt32Int32FunctionWrapper (const char *ArgData, size_t ArgSize)

Function Documentation

◆ addRunAsFunctionWrappersTo()

◆ addTo()

◆ readBuffersWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::readBuffersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 96 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readPointersWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::readPointersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 81 of file OrcRTBootstrap.cpp.

References llvm::orc::ExecutorAddr::fromPtr(), llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readStringsWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::readStringsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 116 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readUIntsWrapper()

template<typename ReadT>
llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::readUIntsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 66 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ runAsInt32Int32FunctionWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::runAsInt32Int32FunctionWrapper ( const char * ArgData,
size_t ArgSize )
static

◆ runAsInt32VoidFunctionWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::runAsInt32VoidFunctionWrapper ( const char * ArgData,
size_t ArgSize )
static

◆ runAsMainWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::runAsMainWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 131 of file OrcRTBootstrap.cpp.

References llvm::release, llvm::orc::runAsMain(), and llvm::orc::ExecutorAddr::toPtr().

Referenced by addTo().

◆ writeBuffersWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::writeBuffersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 53 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().

◆ writePointersWrapper()

llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::writePointersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 41 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().

◆ writeUIntsWrapper()

template<typename WriteT, typename SPSWriteT>
llvm::orc::shared::CWrapperFunctionBuffer llvm::orc::rt_bootstrap::writeUIntsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 30 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().