[all-commits] [llvm/llvm-project] 23776b: [llvm] Fix LLVMOrcTargetProcess symbol export with...
Vedran Miletić via All-commits
all-commits at lists.llvm.org
Thu May 28 13:42:28 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23776bd325ec951781923a638ad632e4126b30ea
https://github.com/llvm/llvm-project/commit/23776bd325ec951781923a638ad632e4126b30ea
Author: Vedran Miletić <vedran at miletic.net>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
Log Message:
-----------
[llvm] Fix LLVMOrcTargetProcess symbol export with MinGW/Cygwin shared libs (#174266)
When any symbol in a DLL carries dllexport, the MinGW/Cygwin linker
switches to exclusive-export mode and omits all other symbols from the
export table. LLVMOrcTargetProcess uses LLVM_ALWAYS_EXPORT (__declspec(
dllexport)) so its symbols can be found via GetProcAddress from a
statically linked executable, which triggers this behaviour.
Add --export-all-symbols to LLVMOrcTargetProcess for MinGW/Cygwin
BUILD_SHARED_LIBS builds to restore full symbol export.
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