https://github.com/adam-fowler created 
https://github.com/llvm/llvm-project/pull/88482

This includes the lldb-dap executable in the MacOS and Linux distributions of 
Swift. Currently there is a commit in the Apple repo to do this for just MacOS 
https://github.com/apple/llvm-project/pull/8176. This PR extends this to both 
Linux and MacOS and brings the change upstream.

@JDevlieghere @adrian-prantl 

>From 52cb463073bbb6914a361d121d04953846e3f670 Mon Sep 17 00:00:00 2001
From: Adam Fowler <adamfowle...@gmail.com>
Date: Fri, 12 Apr 2024 08:46:24 +0100
Subject: [PATCH] Add lldb-dap to Swift distributions

---
 lldb/cmake/caches/Apple-lldb-Linux.cmake | 1 +
 lldb/cmake/caches/Apple-lldb-macOS.cmake | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lldb/cmake/caches/Apple-lldb-Linux.cmake 
b/lldb/cmake/caches/Apple-lldb-Linux.cmake
index bfa660d8654b7b..b936929afc42f8 100644
--- a/lldb/cmake/caches/Apple-lldb-Linux.cmake
+++ b/lldb/cmake/caches/Apple-lldb-Linux.cmake
@@ -5,6 +5,7 @@ set(LLVM_DISTRIBUTION_COMPONENTS
   lldb
   liblldb
   lldb-argdumper
+  lldb-dap
   lldb-server
   lldb-python-scripts
   CACHE STRING "")
diff --git a/lldb/cmake/caches/Apple-lldb-macOS.cmake 
b/lldb/cmake/caches/Apple-lldb-macOS.cmake
index 2aef41157bab1a..5155024ac3a026 100644
--- a/lldb/cmake/caches/Apple-lldb-macOS.cmake
+++ b/lldb/cmake/caches/Apple-lldb-macOS.cmake
@@ -22,6 +22,7 @@ set(LLVM_DISTRIBUTION_COMPONENTS
   lldb
   liblldb
   lldb-argdumper
+  lldb-dap
   darwin-debug
   debugserver
   CACHE STRING "")

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to