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
11namespace llvm {
12namespace orc {
13namespace rt {
14
15const char *SimpleExecutorDylibManagerInstanceName =
16 "__llvm_orc_SimpleExecutorDylibManager_Instance";
17const char *SimpleExecutorDylibManagerOpenWrapperName =
18 "__llvm_orc_SimpleExecutorDylibManager_open_wrapper";
19const char *SimpleExecutorDylibManagerLookupWrapperName =
20 "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper";
21
22const char *SimpleExecutorMemoryManagerInstanceName =
23 "__llvm_orc_SimpleExecutorMemoryManager_Instance";
24const char *SimpleExecutorMemoryManagerReserveWrapperName =
25 "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
26const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
27 "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
28const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
29 "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
30
31const char *ExecutorSharedMemoryMapperServiceInstanceName =
32 "__llvm_orc_ExecutorSharedMemoryMapperService_Instance";
33const char *ExecutorSharedMemoryMapperServiceReserveWrapperName =
34 "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve";
35const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName =
36 "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize";
37const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName =
38 "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize";
39const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName =
40 "__llvm_orc_ExecutorSharedMemoryMapperService_Release";
41
42const char *MemoryWriteUInt8sWrapperName =
43 "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
44const char *MemoryWriteUInt16sWrapperName =
45 "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
46const char *MemoryWriteUInt32sWrapperName =
47 "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
48const char *MemoryWriteUInt64sWrapperName =
49 "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
50const char *MemoryWriteBuffersWrapperName =
51 "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
52
53const char *RegisterEHFrameSectionWrapperName =
54 "llvm_orc_registerEHFrameSectionWrapper";
55const char *DeregisterEHFrameSectionWrapperName =
56 "llvm_orc_deregisterEHFrameSectionWrapper";
57
58const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
59const char *RunAsVoidFunctionWrapperName =
60 "__llvm_orc_bootstrap_run_as_void_function_wrapper";
61const char *RunAsIntFunctionWrapperName =
62 "__llvm_orc_bootstrap_run_as_int_function_wrapper";
63
64} // end namespace rt
65} // end namespace orc
66} // end namespace llvm
67