[all-commits] [llvm/llvm-project] 059f04: [ORC] Propagate weak & hidden flags when creating ...
Lang Hames via All-commits
all-commits at lists.llvm.org
Tue Feb 18 03:24:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 059f044309a282447fb25073875cff8d2bd96f78
https://github.com/llvm/llvm-project/commit/059f044309a282447fb25073875cff8d2bd96f78
Author: Lang Hames <lhames at gmail.com>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
A compiler-rt/test/orc/TestCases/Generic/Inputs/bar-ret-void-weak.ll
A compiler-rt/test/orc/TestCases/Generic/Inputs/baz-ret-void-hidden.ll
M compiler-rt/test/orc/TestCases/Generic/lazy-link.ll
M llvm/lib/ExecutionEngine/Orc/JITLinkRedirectableSymbolManager.cpp
M llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
Log Message:
-----------
[ORC] Propagate weak & hidden flags when creating lazy reexports, redirectables.
Updates JITLinkRedirectableSymbolManager to take alias flags into account when
setting the scope and linkage of the created stubs (weak aliases get now get weak
linkage, hidden stubs get hidden visibility).
Updates lazyReexports to propagate alias flags (rather than trampoline flags)
when building the initial destinations map for the redirectable symbols manager.
Together these changes allow the LazyObjectLinkingLayer to link objects
containing weak and hidden 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