[Darwin][Driver][clang] apple-none-macho orders the resource directory after internal...
[llvm-project.git] / llvm / lib / ExecutionEngine / Orc / Shared / OrcRTBridge.cpp
blob54a25c007c589dcc6e00eb4f99597bd90abaf055
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 //===----------------------------------------------------------------------===//
9 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
11 namespace llvm {
12 namespace orc {
13 namespace rt {
15 const char *SimpleExecutorDylibManagerInstanceName =
16 "__llvm_orc_SimpleExecutorDylibManager_Instance";
17 const char *SimpleExecutorDylibManagerOpenWrapperName =
18 "__llvm_orc_SimpleExecutorDylibManager_open_wrapper";
19 const char *SimpleExecutorDylibManagerLookupWrapperName =
20 "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper";
22 const char *SimpleExecutorMemoryManagerInstanceName =
23 "__llvm_orc_SimpleExecutorMemoryManager_Instance";
24 const char *SimpleExecutorMemoryManagerReserveWrapperName =
25 "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
26 const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
27 "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
28 const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
29 "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
31 const char *ExecutorSharedMemoryMapperServiceInstanceName =
32 "__llvm_orc_ExecutorSharedMemoryMapperService_Instance";
33 const char *ExecutorSharedMemoryMapperServiceReserveWrapperName =
34 "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve";
35 const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName =
36 "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize";
37 const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName =
38 "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize";
39 const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName =
40 "__llvm_orc_ExecutorSharedMemoryMapperService_Release";
42 const char *MemoryWriteUInt8sWrapperName =
43 "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
44 const char *MemoryWriteUInt16sWrapperName =
45 "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
46 const char *MemoryWriteUInt32sWrapperName =
47 "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
48 const char *MemoryWriteUInt64sWrapperName =
49 "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
50 const char *MemoryWriteBuffersWrapperName =
51 "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
52 const char *MemoryWritePointersWrapperName =
53 "__llvm_orc_bootstrap_mem_write_pointers_wrapper";
55 const char *RegisterEHFrameSectionWrapperName =
56 "llvm_orc_registerEHFrameSectionWrapper";
57 const char *DeregisterEHFrameSectionWrapperName =
58 "llvm_orc_deregisterEHFrameSectionWrapper";
60 const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
61 const char *RunAsVoidFunctionWrapperName =
62 "__llvm_orc_bootstrap_run_as_void_function_wrapper";
63 const char *RunAsIntFunctionWrapperName =
64 "__llvm_orc_bootstrap_run_as_int_function_wrapper";
66 } // end namespace rt
67 } // end namespace orc
68 } // end namespace llvm