[Lldb-commits] [lldb] [lldb][windows] print an error if python.dll is not in the DLL search path (PR #164893)

Martin Storsjö via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 24 02:21:57 PDT 2025


================
@@ -61,6 +61,8 @@ if (LLDB_ENABLE_PYTHON)
     "Path to python interpreter exectuable, relative to python's install prefix")
   set(cachestring_LLDB_PYTHON_EXT_SUFFIX
     "Filename extension for native code python modules")
+  set(cachestring_LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME
+    "Filename of Python's runtime library")
 
   foreach(var LLDB_PYTHON_RELATIVE_PATH LLDB_PYTHON_EXE_RELATIVE_PATH LLDB_PYTHON_EXT_SUFFIX)
----------------
mstorsjo wrote:

If the `cachestring_` above is to be used, we should include `LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME` in this loop too (if that makes sense? not familiar with what this does...). Otherwise the `cachestring_` variable isn't used at all.

https://github.com/llvm/llvm-project/pull/164893


More information about the lldb-commits mailing list