[all-commits] [llvm/llvm-project] 329c52: [lldb] Change the way the shlib directory helper i...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Feb 27 15:27:24 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 329c52c1004f2d0f487577f73387c8dd8b47fd9a
https://github.com/llvm/llvm-project/commit/329c52c1004f2d0f487577f73387c8dd8b47fd9a
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-02-27 (Fri, 27 Feb 2026)
Changed paths:
M lldb/include/lldb/Host/HostInfoBase.h
M lldb/include/lldb/Host/aix/HostInfoAIX.h
M lldb/include/lldb/Host/linux/HostInfoLinux.h
M lldb/include/lldb/Host/windows/HostInfoWindows.h
M lldb/include/lldb/Initialization/SystemInitializerCommon.h
M lldb/source/API/SystemInitializerFull.cpp
M lldb/source/Host/aix/HostInfoAIX.cpp
M lldb/source/Host/common/HostInfoBase.cpp
M lldb/source/Host/linux/HostInfoLinux.cpp
M lldb/source/Host/windows/HostInfoWindows.cpp
M lldb/source/Initialization/SystemInitializerCommon.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/tools/lldb-mcp/lldb-mcp.cpp
M lldb/tools/lldb-server/SystemInitializerLLGS.h
M lldb/tools/lldb-test/SystemInitializerTest.cpp
Log Message:
-----------
[lldb] Change the way the shlib directory helper is set (#183637)
This PR changes the way we set the shlib directory helper. Instead of
setting it while initializing the Host plugin, we register it when
initializing the Python plugin. The motivation is that the current
approach is incompatible with the dynamically linked script
interpreters, as they will not have been loaded at the time the Host
plugin is initialized.
The downside of the new approach is that we set the helper after having
initialized the Host plugin, which theoretically introduces a small
window where someone could query the helper before it has been set.
Fortunately the window is pretty small and limited to when we're
initializing plugins, but it's less "pure" than what we had previously.
That said, I think it balances out with removing the plugin include.
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