From 3028d2b78f96ff661d4e2b8d514921028b43af31 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 6 Oct 2025 10:51:37 -0700 Subject: [PATCH] [CMake][lldb] Fix LLDB_ENABLE_SWIFT_SUPPORT=OFF build Fix build for lldb when swift support is disabled. --- lldb/unittests/Core/CMakeLists.txt | 1 - lldb/unittests/Protocol/ProtocolMCPServerTest.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/lldb/unittests/Core/CMakeLists.txt b/lldb/unittests/Core/CMakeLists.txt index 640473f1d217b..4fe9e61570046 100644 --- a/lldb/unittests/Core/CMakeLists.txt +++ b/lldb/unittests/Core/CMakeLists.txt @@ -21,7 +21,6 @@ add_lldb_unittest(LLDBCoreTests RichManglingContextTest.cpp SourceLocationSpecTest.cpp SourceManagerTest.cpp - SwiftDemanglingPartsTest.cpp TelemetryTest.cpp UniqueCStringMapTest.cpp Value.cpp diff --git a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp index 307cbee9b4fe1..0923e197abe8a 100644 --- a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp +++ b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp @@ -11,7 +11,6 @@ #include "TestingSupport/Host/JSONTransportTestUtilities.h" #include "TestingSupport/Host/PipeTestUtilities.h" #include "Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h" -#include "Plugins/Protocol/MCP/MCPError.h" #include "Plugins/Protocol/MCP/ProtocolServerMCP.h" #include "TestingSupport/Host/SocketTestUtilities.h" #include "TestingSupport/SubsystemRAII.h"