| 1 | //===------ OrcRTBridge.cpp - Executor functions for bootstrap -----===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h" |
| 10 | |
| 11 | namespace llvm { |
| 12 | namespace orc { |
| 13 | namespace rt { |
| 14 | |
| 15 | const char *SimpleExecutorMemoryManagerInstanceName = |
| 16 | "__llvm_orc_SimpleExecutorMemoryManager_Instance" ; |
| 17 | const char *SimpleExecutorMemoryManagerReserveWrapperName = |
| 18 | "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper" ; |
| 19 | const char *SimpleExecutorMemoryManagerInitializeWrapperName = |
| 20 | "__llvm_orc_SimpleExecutorMemoryManager_initialize_wrapper" ; |
| 21 | const char *SimpleExecutorMemoryManagerDeinitializeWrapperName = |
| 22 | "__llvm_orc_SimpleExecutorMemoryManager_deinitialize_wrapper" ; |
| 23 | const char *SimpleExecutorMemoryManagerReleaseWrapperName = |
| 24 | "__llvm_orc_SimpleExecutorMemoryManager_release_wrapper" ; |
| 25 | |
| 26 | const char *ExecutorSharedMemoryMapperServiceInstanceName = |
| 27 | "__llvm_orc_ExecutorSharedMemoryMapperService_Instance" ; |
| 28 | const char *ExecutorSharedMemoryMapperServiceReserveWrapperName = |
| 29 | "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve" ; |
| 30 | const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName = |
| 31 | "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize" ; |
| 32 | const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName = |
| 33 | "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize" ; |
| 34 | const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName = |
| 35 | "__llvm_orc_ExecutorSharedMemoryMapperService_Release" ; |
| 36 | |
| 37 | const char *RegisterEHFrameSectionAllocActionName = |
| 38 | "llvm_orc_registerEHFrameAllocAction" ; |
| 39 | const char *DeregisterEHFrameSectionAllocActionName = |
| 40 | "llvm_orc_deregisterEHFrameAllocAction" ; |
| 41 | |
| 42 | const char *RegisterJITLoaderGDBAllocActionName = |
| 43 | "orc_rt_ci_aa_sps_GDBJITRegistrar_register" ; |
| 44 | const char *DeregisterJITLoaderGDBAllocActionName = |
| 45 | "orc_rt_ci_aa_sps_GDBJITRegistrar_deregister" ; |
| 46 | |
| 47 | const char *const DispatchName = "__orc_rt_jit_dispatch" ; |
| 48 | const char *const DispatchCtxName = "__orc_rt_jit_dispatch_ctx" ; |
| 49 | |
| 50 | const MachOUnwindInfoRegistrarSymbolNames |
| 51 | orc_rt_MachOUnwindInfoRegistrarSPSSymbols = { |
| 52 | .RegisterSectionsName: "orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_registerSections" , |
| 53 | .DeregisterSectionsName: "orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_deregisterSections" }; |
| 54 | |
| 55 | } // end namespace rt |
| 56 | namespace rt_alt { |
| 57 | const char *UnwindInfoManagerRegisterActionName = |
| 58 | "orc_rt_alt_UnwindInfoManager_register" ; |
| 59 | const char *UnwindInfoManagerDeregisterActionName = |
| 60 | "orc_rt_alt_UnwindInfoManager_deregister" ; |
| 61 | |
| 62 | } // end namespace rt_alt |
| 63 | } // end namespace orc |
| 64 | } // end namespace llvm |
| 65 | |