[all-commits] [llvm/llvm-project] 0b1095: [lldb][windows] explicitly load python3.dll in Pyt...

Charles Zablit via All-commits all-commits at lists.llvm.org
Wed Jun 3 09:56:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b109532693fec0dce3a8d275b716f5a5fb6e45c
      https://github.com/llvm/llvm-project/commit/0b109532693fec0dce3a8d275b716f5a5fb6e45c
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M lldb/CMakeLists.txt
    M lldb/source/Host/common/PythonRuntimeLoader.cpp

  Log Message:
  -----------
  [lldb][windows] explicitly load python3.dll in PythonRuntimeLoader (#201399)

When building with the Python stable API, `liblldb.dll`'s delay-load
crashes because it needs `python3.dll` and it can't find it
Loading `python310.dll` via `LoadLibrary` with a full path doesn't add
Python's directory to the DLL search path for subsequent loads.
This patch also explicitly loads `python3.dll` from the same directory
in `PythonRuntimeLoader` to fix the issue.

This is needed for https://github.com/llvm/llvm-project/pull/200533.



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