[llvm] [ORC] Mangle EH-frame alloc-action CI names as C (PR #225682)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 03:53:09 PDT 2026
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/225682
Flip the EH-frame register/deregister alloc-action names from Verbatim to C, so they carry the target's C mangling. These are bootstrap-map names only (the implementing functions have different linker names): they're registered by addDefaultBootstrapValuesForHostProcess via mangledCopy of the same specs, and resolved by EHFrameRegistration- Plugin and EPCGenericRTDyldMemoryManager through the same specs, so both sides stay in sync.
>From e88436843950b87d248e975529339c615e875f0a Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Wed, 23 Sep 2026 20:07:18 +1000
Subject: [PATCH] [ORC] Mangle EH-frame alloc-action CI names as C
Flip the EH-frame register/deregister alloc-action names from Verbatim
to C, so they carry the target's C mangling. These are bootstrap-map
names only (the implementing functions have different linker names):
they're registered by addDefaultBootstrapValuesForHostProcess via
mangledCopy of the same specs, and resolved by EHFrameRegistration-
Plugin and EPCGenericRTDyldMemoryManager through the same specs, so
both sides stay in sync.
---
llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp b/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
index e76c8746374ab..2fff7ae83bee0 100644
--- a/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
@@ -13,9 +13,9 @@ namespace orc {
namespace rt {
const SymbolNameSpec RegisterEHFrameSectionAllocActionName =
- SymbolNameSpec::verbatim("llvm_orc_registerEHFrameAllocAction");
+ SymbolNameSpec::c("llvm_orc_registerEHFrameAllocAction");
const SymbolNameSpec DeregisterEHFrameSectionAllocActionName =
- SymbolNameSpec::verbatim("llvm_orc_deregisterEHFrameAllocAction");
+ SymbolNameSpec::c("llvm_orc_deregisterEHFrameAllocAction");
const SymbolNameSpec RegisterJITLoaderGDBAllocActionName =
SymbolNameSpec::c("orc_rt_ci_aa_sps_GDBJITRegistrar_register");
More information about the llvm-commits
mailing list