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

Namespaces

namespace  sps

Classes

class  Caller
class  Caller< RetT(ArgTs...)>
 Runtime-agnostic interface for invoking an executor-side operation with the signature RetT(ArgTs...). More...
class  Int32Int32Caller
 Runtime-agnostic interface for running an int32_t(int32_t) function in the executor. More...
class  Int32VoidCaller
 Runtime-agnostic interface for running an int32_t() function in the executor. More...
struct  MachOUnwindInfoRegistrarSymbolNames
 Symbol names for the ORC runtime's StandaloneMachOUnwindInfoRegistrar SPS interface. More...
class  MainCaller
 Runtime-agnostic interface for running a main-like function (int(int argc, char *argv[])) in the executor. More...
struct  SimpleExecutorDylibManagerSymbolNames
 Symbol names for dylib management implementation. More...
struct  SimpleExecutorMemoryManagerSymbolNames
 Symbol names for memory management implementation. More...
class  VoidVoidCaller
 Runtime-agnostic interface for running a void() function in the executor. More...

Typedefs

using SPSSimpleExecutorDylibManagerOpenSignature
using SPSSimpleExecutorDylibManagerResolveSignature
using SPSSimpleExecutorMemoryManagerReserveSignature
using SPSSimpleExecutorMemoryManagerInitializeSignature
using SPSSimpleExecutorMemoryManagerDeinitializeSignature
using SPSSimpleExecutorMemoryManagerReleaseSignature
using SPSExecutorSharedMemoryMapperServiceReserveSignature
using SPSExecutorSharedMemoryMapperServiceInitializeSignature
using SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
using SPSExecutorSharedMemoryMapperServiceReleaseSignature
using SPSSimpleRemoteMemoryMapReserveSignature
using SPSSimpleRemoteMemoryMapInitializeSignature
using SPSSimpleRemoteMemoryMapDeinitializeSignature
using SPSSimpleRemoteMemoryMapReleaseSignature
using SPSRunAsMainSignature

Variables

LLVM_ABI const charSimpleExecutorDylibManagerInstanceName
LLVM_ABI const charSimpleExecutorDylibManagerOpenWrapperName
LLVM_ABI const charSimpleExecutorDylibManagerResolveWrapperName
LLVM_ABI const charSimpleExecutorMemoryManagerInstanceName
LLVM_ABI const charSimpleExecutorMemoryManagerReserveWrapperName
LLVM_ABI const charSimpleExecutorMemoryManagerInitializeWrapperName
LLVM_ABI const charSimpleExecutorMemoryManagerDeinitializeWrapperName
LLVM_ABI const charSimpleExecutorMemoryManagerReleaseWrapperName
LLVM_ABI const charExecutorSharedMemoryMapperServiceInstanceName
LLVM_ABI const charExecutorSharedMemoryMapperServiceReserveWrapperName
LLVM_ABI const charExecutorSharedMemoryMapperServiceInitializeWrapperName
LLVM_ABI const charExecutorSharedMemoryMapperServiceDeinitializeWrapperName
LLVM_ABI const charExecutorSharedMemoryMapperServiceReleaseWrapperName
LLVM_ABI const charMemoryWriteUInt8sWrapperName
LLVM_ABI const charMemoryWriteUInt16sWrapperName
LLVM_ABI const charMemoryWriteUInt32sWrapperName
LLVM_ABI const charMemoryWriteUInt64sWrapperName
LLVM_ABI const charMemoryWritePointersWrapperName
LLVM_ABI const charMemoryWriteBuffersWrapperName
LLVM_ABI const charMemoryReadUInt8sWrapperName
LLVM_ABI const charMemoryReadUInt16sWrapperName
LLVM_ABI const charMemoryReadUInt32sWrapperName
LLVM_ABI const charMemoryReadUInt64sWrapperName
LLVM_ABI const charMemoryReadPointersWrapperName
LLVM_ABI const charMemoryReadBuffersWrapperName
LLVM_ABI const charMemoryReadStringsWrapperName
LLVM_ABI const charRegisterEHFrameSectionAllocActionName
LLVM_ABI const charDeregisterEHFrameSectionAllocActionName
LLVM_ABI const charRegisterJITLoaderGDBAllocActionName
LLVM_ABI const char *const DispatchName = "__orc_rt_jit_dispatch"
LLVM_ABI const char *const DispatchCtxName = "__orc_rt_jit_dispatch_ctx"
const LLVM_ABI SimpleExecutorMemoryManagerSymbolNames orc_rt_SimpleNativeMemoryMapSPSSymbols
 Default symbol names for the ORC runtime's SimpleNativeMemoryMap SPS interface.
const LLVM_ABI SimpleExecutorDylibManagerSymbolNames orc_rt_NativeDylibManagerSPSSymbols
 Default symbol names for the ORC runtime's NativeDylibManager SPS interface.
const LLVM_ABI MachOUnwindInfoRegistrarSymbolNames orc_rt_MachOUnwindInfoRegistrarSPSSymbols
 Default symbol names for the ORC runtime's StandaloneMachOUnwindInfoRegistrar SPS interface.

Typedef Documentation

◆ SPSExecutorSharedMemoryMapperServiceDeinitializeSignature

◆ SPSExecutorSharedMemoryMapperServiceInitializeSignature

Initial value:
SPS tag type for expecteds, which are either a T or a string representing an error.
SPSTuple< SPSSequence< SPSSharedMemorySegFinalizeRequest >, SPSSequence< SPSAllocActionCallPair > > SPSSharedMemoryFinalizeRequest

Definition at line 132 of file OrcRTBridge.h.

◆ SPSExecutorSharedMemoryMapperServiceReleaseSignature

◆ SPSExecutorSharedMemoryMapperServiceReserveSignature

◆ SPSRunAsMainSignature

◆ SPSSimpleExecutorDylibManagerOpenSignature

Initial value:
SPSSequence< char > SPSString
SPS tag type for strings, which are equivalent to sequences of chars.

Definition at line 107 of file OrcRTBridge.h.

◆ SPSSimpleExecutorDylibManagerResolveSignature

◆ SPSSimpleExecutorMemoryManagerDeinitializeSignature

◆ SPSSimpleExecutorMemoryManagerInitializeSignature

Initial value:
SPSTuple< SPSSequence< SPSSegFinalizeRequest >, SPSSequence< SPSAllocActionCallPair > > SPSFinalizeRequest

Definition at line 119 of file OrcRTBridge.h.

◆ SPSSimpleExecutorMemoryManagerReleaseSignature

◆ SPSSimpleExecutorMemoryManagerReserveSignature

◆ SPSSimpleRemoteMemoryMapDeinitializeSignature

◆ SPSSimpleRemoteMemoryMapInitializeSignature

◆ SPSSimpleRemoteMemoryMapReleaseSignature

◆ SPSSimpleRemoteMemoryMapReserveSignature

Variable Documentation

◆ DeregisterEHFrameSectionAllocActionName

const char * llvm::orc::rt::DeregisterEHFrameSectionAllocActionName
Initial value:
=
"llvm_orc_deregisterEHFrameAllocAction"

Definition at line 76 of file OrcRTBridge.cpp.

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

◆ DispatchCtxName

const char *const llvm::orc::rt::DispatchCtxName = "__orc_rt_jit_dispatch_ctx"

◆ DispatchName

const char *const llvm::orc::rt::DispatchName = "__orc_rt_jit_dispatch"

◆ ExecutorSharedMemoryMapperServiceDeinitializeWrapperName

const char * llvm::orc::rt::ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
Initial value:
=
"__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize"

Definition at line 41 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::ExecutorSharedMemoryMapperService::addBootstrapSymbols().

◆ ExecutorSharedMemoryMapperServiceInitializeWrapperName

const char * llvm::orc::rt::ExecutorSharedMemoryMapperServiceInitializeWrapperName
Initial value:
=
"__llvm_orc_ExecutorSharedMemoryMapperService_Initialize"

Definition at line 39 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::ExecutorSharedMemoryMapperService::addBootstrapSymbols().

◆ ExecutorSharedMemoryMapperServiceInstanceName

const char * llvm::orc::rt::ExecutorSharedMemoryMapperServiceInstanceName
Initial value:
=
"__llvm_orc_ExecutorSharedMemoryMapperService_Instance"

Definition at line 35 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::ExecutorSharedMemoryMapperService::addBootstrapSymbols().

◆ ExecutorSharedMemoryMapperServiceReleaseWrapperName

const char * llvm::orc::rt::ExecutorSharedMemoryMapperServiceReleaseWrapperName
Initial value:
=
"__llvm_orc_ExecutorSharedMemoryMapperService_Release"

Definition at line 43 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::ExecutorSharedMemoryMapperService::addBootstrapSymbols().

◆ ExecutorSharedMemoryMapperServiceReserveWrapperName

const char * llvm::orc::rt::ExecutorSharedMemoryMapperServiceReserveWrapperName
Initial value:
=
"__llvm_orc_ExecutorSharedMemoryMapperService_Reserve"

Definition at line 37 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::ExecutorSharedMemoryMapperService::addBootstrapSymbols().

◆ MemoryReadBuffersWrapperName

const char * llvm::orc::rt::MemoryReadBuffersWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_buffers_wrapper"

Definition at line 69 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryReadPointersWrapperName

const char * llvm::orc::rt::MemoryReadPointersWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_pointers_wrapper"

Definition at line 67 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo().

◆ MemoryReadStringsWrapperName

const char * llvm::orc::rt::MemoryReadStringsWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_strings_wrapper"

Definition at line 71 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryReadUInt16sWrapperName

const char * llvm::orc::rt::MemoryReadUInt16sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_uint16s_wrapper"

Definition at line 61 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryReadUInt32sWrapperName

const char * llvm::orc::rt::MemoryReadUInt32sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_uint32s_wrapper"

Definition at line 63 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryReadUInt64sWrapperName

const char * llvm::orc::rt::MemoryReadUInt64sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_uint64s_wrapper"

Definition at line 65 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryReadUInt8sWrapperName

const char * llvm::orc::rt::MemoryReadUInt8sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_read_uint8s_wrapper"

Definition at line 59 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWriteBuffersWrapperName

const char * llvm::orc::rt::MemoryWriteBuffersWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_buffers_wrapper"

Definition at line 56 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWritePointersWrapperName

const char * llvm::orc::rt::MemoryWritePointersWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_pointers_wrapper"

Definition at line 54 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWriteUInt16sWrapperName

const char * llvm::orc::rt::MemoryWriteUInt16sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_uint16s_wrapper"

Definition at line 48 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWriteUInt32sWrapperName

const char * llvm::orc::rt::MemoryWriteUInt32sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_uint32s_wrapper"

Definition at line 50 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWriteUInt64sWrapperName

const char * llvm::orc::rt::MemoryWriteUInt64sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_uint64s_wrapper"

Definition at line 52 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ MemoryWriteUInt8sWrapperName

const char * llvm::orc::rt::MemoryWriteUInt8sWrapperName
Initial value:
=
"__llvm_orc_bootstrap_mem_write_uint8s_wrapper"

Definition at line 46 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::addTo(), llvm::orc::InProcessEPC::createDefaultMemoryAccess(), and llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess().

◆ orc_rt_MachOUnwindInfoRegistrarSPSSymbols

const MachOUnwindInfoRegistrarSymbolNames llvm::orc::rt::orc_rt_MachOUnwindInfoRegistrarSPSSymbols
Initial value:
= {
"orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_registerSections",
"orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_deregisterSections"}

Default symbol names for the ORC runtime's StandaloneMachOUnwindInfoRegistrar SPS interface.

Definition at line 102 of file OrcRTBridge.cpp.

Referenced by llvm::orc::UnwindInfoManager::addBootstrapSymbols().

◆ orc_rt_NativeDylibManagerSPSSymbols

const SimpleExecutorDylibManagerSymbolNames llvm::orc::rt::orc_rt_NativeDylibManagerSPSSymbols
Initial value:
= {
"orc_rt_ci_NativeDylibManager_Instance",
"orc_rt_ci_sps_NativeDylibManager_load",
"orc_rt_ci_sps_NativeDylibManager_lookup",
}

Default symbol names for the ORC runtime's NativeDylibManager SPS interface.

Definition at line 95 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::addBootstrapSymbols().

◆ orc_rt_SimpleNativeMemoryMapSPSSymbols

const SimpleExecutorMemoryManagerSymbolNames llvm::orc::rt::orc_rt_SimpleNativeMemoryMapSPSSymbols
Initial value:
= {
"orc_rt_ci_SimpleNativeMemoryMap_Instance",
"orc_rt_ci_sps_SimpleNativeMemoryMap_reserve",
"orc_rt_ci_sps_SimpleNativeMemoryMap_initialize",
"orc_rt_ci_sps_SimpleNativeMemoryMap_deinitializeMultiple",
"orc_rt_ci_sps_SimpleNativeMemoryMap_releaseMultiple",
}

Default symbol names for the ORC runtime's SimpleNativeMemoryMap SPS interface.

Definition at line 86 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().

◆ RegisterEHFrameSectionAllocActionName

const char * llvm::orc::rt::RegisterEHFrameSectionAllocActionName
Initial value:
=
"llvm_orc_registerEHFrameAllocAction"

Definition at line 74 of file OrcRTBridge.cpp.

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

◆ RegisterJITLoaderGDBAllocActionName

const char * llvm::orc::rt::RegisterJITLoaderGDBAllocActionName
Initial value:
=
"llvm_orc_registerJITLoaderGDBAllocAction"

Definition at line 79 of file OrcRTBridge.cpp.

Referenced by llvm::orc::addDefaultBootstrapValuesForHostProcess(), and llvm::orc::ELFDebugObjectPlugin::ELFDebugObjectPlugin().

◆ SimpleExecutorDylibManagerInstanceName

const char * llvm::orc::rt::SimpleExecutorDylibManagerInstanceName
Initial value:
=
"__llvm_orc_SimpleExecutorDylibManager_Instance"

Definition at line 17 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::addBootstrapSymbols().

◆ SimpleExecutorDylibManagerOpenWrapperName

const char * llvm::orc::rt::SimpleExecutorDylibManagerOpenWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorDylibManager_open_wrapper"

Definition at line 19 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::addBootstrapSymbols().

◆ SimpleExecutorDylibManagerResolveWrapperName

const char * llvm::orc::rt::SimpleExecutorDylibManagerResolveWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorDylibManager_resolve_wrapper"

Definition at line 21 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::addBootstrapSymbols().

◆ SimpleExecutorMemoryManagerDeinitializeWrapperName

const char * llvm::orc::rt::SimpleExecutorMemoryManagerDeinitializeWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorMemoryManager_deinitialize_wrapper"

Definition at line 30 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().

◆ SimpleExecutorMemoryManagerInitializeWrapperName

const char * llvm::orc::rt::SimpleExecutorMemoryManagerInitializeWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorMemoryManager_initialize_wrapper"

Definition at line 28 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().

◆ SimpleExecutorMemoryManagerInstanceName

const char * llvm::orc::rt::SimpleExecutorMemoryManagerInstanceName
Initial value:
=
"__llvm_orc_SimpleExecutorMemoryManager_Instance"

Definition at line 24 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().

◆ SimpleExecutorMemoryManagerReleaseWrapperName

const char * llvm::orc::rt::SimpleExecutorMemoryManagerReleaseWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorMemoryManager_release_wrapper"

Definition at line 32 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().

◆ SimpleExecutorMemoryManagerReserveWrapperName

const char * llvm::orc::rt::SimpleExecutorMemoryManagerReserveWrapperName
Initial value:
=
"__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper"

Definition at line 26 of file OrcRTBridge.cpp.

Referenced by llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols().