[all-commits] [llvm/llvm-project] ec28b9: [lldb][windows] add support for out of PATH python...
Charles Zablit via All-commits
all-commits at lists.llvm.org
Thu Oct 9 08:51:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec28b95b7491bc2fbb6ec66cdbfd939e71255c42
https://github.com/llvm/llvm-project/commit/ec28b95b7491bc2fbb6ec66cdbfd939e71255c42
Author: Charles Zablit <c_zablit at apple.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M lldb/cmake/modules/AddLLDB.cmake
M lldb/tools/driver/CMakeLists.txt
M lldb/tools/driver/Driver.cpp
Log Message:
-----------
[lldb][windows] add support for out of PATH python.dll resolution (#162509)
This patch adds the `LLDB_PYTHON_DLL_RELATIVE_PATH` Cmake variable which
is the relative path to the directory containing `python.dll`. The path
is relative to the directory containing `lldb.exe`.
If this variable is set and the resolved path points to an existing
directory, we call `SetDllDirectoryW` to add `python.dll` to the list of
DLL search paths.
This, combined with `liblldb.dll` being delay loaded, allows to package
`python.dll` with the `llvm` installer.
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