[all-commits] [llvm/llvm-project] ecac7b: [lldb][Windows] Default to lldb-server when libxml...

Charles Zablit via All-commits all-commits at lists.llvm.org
Mon Jul 13 13:02:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecac7b9e48cdc98f71c7c40c05055f7ebc652d98
      https://github.com/llvm/llvm-project/commit/ecac7b9e48cdc98f71c7c40c05055f7ebc652d98
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/test/API/lit.cfg.py
    M lldb/test/CMakeLists.txt
    M lldb/test/Shell/lit.cfg.py

  Log Message:
  -----------
  [lldb][Windows] Default to lldb-server when libxml2 is available (#209258)

Select the debugging backend based on libxml2 availability, which is
required to parse the gdb-remote target description XML.

At runtime, `ProcessWindows::ShouldUseLLDBServer()` now honors an
explicit `LLDB_USE_LLDB_SERVER` environment variable if set, and
otherwise defaults to lldb-server when `LLDB_ENABLE_LIBXML2` is on,
falling back to the in-process Windows process plugin when it is not.

In the test suite, `LLDB_TEST_USE_LLDB_SERVER` now defaults to `ON` when
building on Windows with libxml2 available. The lit configs set
`LLDB_USE_LLDB_SERVER` explicitly to 1 or 0 so the test configuration is
authoritative regardless of the compiled-in default.

rdar://174236280



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