https://github.com/charles-zablit created 
https://github.com/llvm/llvm-project/pull/175014

This patch fixes an incorrect name of the `lldb-dap` process on Windows by 
appending `.exe` to the name.

This is a prelude to https://github.com/llvm/llvm-project/pull/174635.

>From 5af864d4aa4a3bf6aef43975ca9c954688450db9 Mon Sep 17 00:00:00 2001
From: Charles Zablit <[email protected]>
Date: Thu, 8 Jan 2026 16:24:10 +0000
Subject: [PATCH] [lldb-dap][windows] fix lldb-dap executable name

---
 lldb/packages/Python/lldbsuite/test/dotest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py 
b/lldb/packages/Python/lldbsuite/test/dotest.py
index fcd60a1bc0db8..84490d86c7e7f 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -566,7 +566,9 @@ def setupSysPath():
 
     lldbDir = os.path.dirname(lldbtest_config.lldbExec)
 
-    lldbDAPExec = os.path.join(lldbDir, "lldb-dap")
+    lldbDAPExec = os.path.join(
+        lldbDir, "lldb-dap.exe" if sys.platform == "win32" else "lldb-dap"
+    )
     if is_exe(lldbDAPExec):
         os.environ["LLDBDAP_EXEC"] = lldbDAPExec
 

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to