[all-commits] [llvm/llvm-project] 5f7ace: [ORC] Mangle Dlfcn CI names as C (fixes MachO dlop...
Lang Hames via All-commits
all-commits at lists.llvm.org
Tue Sep 22 14:57:48 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f7ace54653f8d5b27369c912912d3e6edc72455
https://github.com/llvm/llvm-project/commit/5f7ace54653f8d5b27369c912912d3e6edc72455
Author: Lang Hames <lhames at gmail.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/SPSCI/DlfcnSPSCI.h
Log Message:
-----------
[ORC] Mangle Dlfcn CI names as C (fixes MachO dlopen lookup) (#225392)
The __orc_rt_jit_dl{open,update,close}_wrapper functions are C symbols
in the ORC runtime, so on Darwin their linker names carry a leading
underscore. The controller must resolve them under the C-mangled name.
The original LLJIT code did this via mangleAndIntern; the Proxy
conversion (#224881) used Verbatim by mistake, so on MachO the lookup
searched for the unmangled name and failed ("Symbols not found:
__orc_rt_jit_dlopen_wrapper"). Flip the Dlfcn descriptors to C to
restore the mangling. No runtime change is needed -- compiler-rt already
exports these as C symbols.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list