xref: /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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 *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";
21 const char *SimpleExecutorMemoryManagerInstanceName =
22     "__llvm_orc_SimpleExecutorMemoryManager_Instance";
23 const char *SimpleExecutorMemoryManagerReserveWrapperName =
24     "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
25 const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
26     "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
27 const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
28     "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
29 const char *MemoryWriteUInt8sWrapperName =
30     "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
31 const char *MemoryWriteUInt16sWrapperName =
32     "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
33 const char *MemoryWriteUInt32sWrapperName =
34     "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
35 const char *MemoryWriteUInt64sWrapperName =
36     "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
37 const char *MemoryWriteBuffersWrapperName =
38     "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
39 const char *RegisterEHFrameSectionWrapperName =
40     "__llvm_orc_bootstrap_register_ehframe_section_wrapper";
41 const char *DeregisterEHFrameSectionWrapperName =
42     "__llvm_orc_bootstrap_deregister_ehframe_section_wrapper";
43 const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
44 
45 } // end namespace rt
46 } // end namespace orc
47 } // end namespace llvm
48