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 SymbolNameSpec RegisterEHFrameSectionAllocActionName =
16 SymbolNameSpec::verbatim(Name: "llvm_orc_registerEHFrameAllocAction");
17const SymbolNameSpec DeregisterEHFrameSectionAllocActionName =
18 SymbolNameSpec::verbatim(Name: "llvm_orc_deregisterEHFrameAllocAction");
19
20const SymbolNameSpec RegisterJITLoaderGDBAllocActionName =
21 SymbolNameSpec::verbatim(Name: "orc_rt_ci_aa_sps_GDBJITRegistrar_register");
22const SymbolNameSpec DeregisterJITLoaderGDBAllocActionName =
23 SymbolNameSpec::verbatim(Name: "orc_rt_ci_aa_sps_GDBJITRegistrar_deregister");
24
25const SymbolNameSpec DispatchName =
26 SymbolNameSpec::verbatim(Name: "__orc_rt_jit_dispatch");
27const SymbolNameSpec DispatchCtxName =
28 SymbolNameSpec::verbatim(Name: "__orc_rt_jit_dispatch_ctx");
29
30const MachOUnwindInfoRegistrarSymbolNames
31 orc_rt_MachOUnwindInfoRegistrarSPSSymbols = {
32 .RegisterSectionsName: SymbolNameSpec::verbatim(
33 Name: "orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_registerSections"),
34 .DeregisterSectionsName: SymbolNameSpec::verbatim(
35 Name: "orc_rt_ci_aa_sps_MachOUnwindInfoRegistrar_deregisterSections")};
36
37} // end namespace rt
38namespace rt_alt {
39const SymbolNameSpec UnwindInfoManagerRegisterActionName =
40 SymbolNameSpec::verbatim(Name: "orc_rt_alt_UnwindInfoManager_register");
41const SymbolNameSpec UnwindInfoManagerDeregisterActionName =
42 SymbolNameSpec::verbatim(Name: "orc_rt_alt_UnwindInfoManager_deregister");
43
44} // end namespace rt_alt
45} // end namespace orc
46} // end namespace llvm
47