xref: /freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
1*349cc55cSDimitry Andric //===------ OrcRTBridge.cpp - Executor functions for bootstrap -----===//
2*349cc55cSDimitry Andric //
3*349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*349cc55cSDimitry Andric //
7*349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
8*349cc55cSDimitry Andric 
9*349cc55cSDimitry Andric #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
10*349cc55cSDimitry Andric 
11*349cc55cSDimitry Andric namespace llvm {
12*349cc55cSDimitry Andric namespace orc {
13*349cc55cSDimitry Andric namespace rt {
14*349cc55cSDimitry Andric 
15*349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerInstanceName =
16*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_Instance";
17*349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerOpenWrapperName =
18*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_open_wrapper";
19*349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerLookupWrapperName =
20*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper";
21*349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerInstanceName =
22*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_Instance";
23*349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerReserveWrapperName =
24*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
25*349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
26*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
27*349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
28*349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
29*349cc55cSDimitry Andric const char *MemoryWriteUInt8sWrapperName =
30*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
31*349cc55cSDimitry Andric const char *MemoryWriteUInt16sWrapperName =
32*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
33*349cc55cSDimitry Andric const char *MemoryWriteUInt32sWrapperName =
34*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
35*349cc55cSDimitry Andric const char *MemoryWriteUInt64sWrapperName =
36*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
37*349cc55cSDimitry Andric const char *MemoryWriteBuffersWrapperName =
38*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
39*349cc55cSDimitry Andric const char *RegisterEHFrameSectionCustomDirectWrapperName =
40*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_register_ehframe_section_custom_direct_wrapper";
41*349cc55cSDimitry Andric const char *DeregisterEHFrameSectionCustomDirectWrapperName =
42*349cc55cSDimitry Andric     "__llvm_orc_bootstrap_deregister_ehframe_section_custom_direct_wrapper";
43*349cc55cSDimitry Andric const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
44*349cc55cSDimitry Andric 
45*349cc55cSDimitry Andric } // end namespace rt
46*349cc55cSDimitry Andric } // end namespace orc
47*349cc55cSDimitry Andric } // end namespace llvm
48