| 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 SymbolNameSpec RegisterEHFrameSectionAllocActionName = |
| 16 | SymbolNameSpec::verbatim(Name: "llvm_orc_registerEHFrameAllocAction"); |
| 17 | const SymbolNameSpec DeregisterEHFrameSectionAllocActionName = |
| 18 | SymbolNameSpec::verbatim(Name: "llvm_orc_deregisterEHFrameAllocAction"); |
| 19 | |
| 20 | const SymbolNameSpec RegisterJITLoaderGDBAllocActionName = |
| 21 | SymbolNameSpec::verbatim(Name: "orc_rt_ci_aa_sps_GDBJITRegistrar_register"); |
| 22 | const SymbolNameSpec DeregisterJITLoaderGDBAllocActionName = |
| 23 | SymbolNameSpec::verbatim(Name: "orc_rt_ci_aa_sps_GDBJITRegistrar_deregister"); |
| 24 | |
| 25 | const SymbolNameSpec DispatchName = |
| 26 | SymbolNameSpec::verbatim(Name: "__orc_rt_jit_dispatch"); |
| 27 | const SymbolNameSpec DispatchCtxName = |
| 28 | SymbolNameSpec::verbatim(Name: "__orc_rt_jit_dispatch_ctx"); |
| 29 | |
| 30 | const 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 |
| 38 | namespace rt_alt { |
| 39 | const SymbolNameSpec UnwindInfoManagerRegisterActionName = |
| 40 | SymbolNameSpec::verbatim(Name: "orc_rt_alt_UnwindInfoManager_register"); |
| 41 | const 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 |