[Lldb-commits] [lldb] [lldb-dap][windows] add support for out of PATH python.dll resolution (PR #179306)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 3 09:14:42 PST 2026
================
@@ -6,6 +6,8 @@ add_lldb_tool(lldb-dap
lldb-dap.cpp
LINK_LIBS
+ lldbUtilityPythonPathSetup
+ liblldb # delay load liblldb
----------------
charles-zablit wrote:
It does link it in `lldb\tools\lldb-dap\CMakeLists.txt`. However delay loading is only available for executable, not libraries.
What this does is:
- when building `lldb-dap.exe`, delay load `liblldb.dll` to give us time to setup Python.
- when building `lldbDap.lib` link against `liblldb.dll` without delay loading because that does not exist.
https://github.com/llvm/llvm-project/pull/179306
More information about the lldb-commits
mailing list