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

This patch fixes the `lldb-dap` executable substitution in tests, which was not 
done before.

>From fd1e723dc5e49886d3be412ee4693dd7e73ee823 Mon Sep 17 00:00:00 2001
From: Charles Zablit <[email protected]>
Date: Wed, 4 Feb 2026 15:14:19 +0000
Subject: [PATCH] [lldb-dap] fix executable substitution in tests

---
 lldb/test/Shell/helper/toolchain.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lldb/test/Shell/helper/toolchain.py 
b/lldb/test/Shell/helper/toolchain.py
index 66664561a249d..5803ecb8d96c1 100644
--- a/lldb/test/Shell/helper/toolchain.py
+++ b/lldb/test/Shell/helper/toolchain.py
@@ -167,7 +167,9 @@ def use_lldb_substitutions(config):
             unresolved="ignore",
         ),
         "lldb-test",
-        "lldb-dap",
+        ToolSubst(
+            "%lldb-dap", command=FindTool("lldb-dap"), extra_args=[], 
unresolved="fatal"
+        ),
         ToolSubst(
             "%build", command="'" + sys.executable + "'", 
extra_args=build_script_args
         ),

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

Reply via email to