From 7520b5751a72a2e577f39874c693e570086271a0 Mon Sep 17 00:00:00 2001 From: Augusto Noronha Date: Wed, 1 Oct 2025 11:22:57 -0700 Subject: [PATCH 1/2] Revert "[lldb] look up function names in the swift language plugin (#11477)" This reverts commit 13c116b3de9bb6f2f637ec1f39c25efe43335696. --- lldb/source/Core/Module.cpp | 6 +----- .../break_by_partial_name/TestSwiftBreakByPartialName.py | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index ed17078190763..731aa6688d275 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -661,11 +661,7 @@ Module::LookupInfo::LookupInfo(ConstString name, if (language != eLanguageTypeUnknown) lang_types.push_back(language); else - lang_types = {eLanguageTypeObjC, eLanguageTypeC_plus_plus, -#ifdef LLDB_ENABLE_SWIFT - eLanguageTypeSwift -#endif - }; + lang_types = {eLanguageTypeObjC, eLanguageTypeC_plus_plus}; for (LanguageType lang_type : lang_types) { if (Language *lang = Language::FindPlugin(lang_type)) diff --git a/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py b/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py index 3387454914887..de901b6222f25 100644 --- a/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py +++ b/lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py @@ -13,10 +13,12 @@ Tests that we can break on a partial name of a Swift function Effectively tests our chopper of Swift demangled names """ +import lldb from lldbsuite.test.lldbtest import * from lldbsuite.test.decorators import * import lldbsuite.test.lldbutil as lldbutil +@skipIf(bugnumber = "rdar://159531198") class SwiftPartialBreakTest(TestBase): @swiftTest def test_swift_partial_break(self): From 537e96801b83fe9cf98b33873f34c1387824d052 Mon Sep 17 00:00:00 2001 From: Augusto Noronha Date: Wed, 1 Oct 2025 11:24:47 -0700 Subject: [PATCH 2/2] Revert "[lldb] Reenable TestEqualityOperators" This reverts commit eed876ee3f0a0db65059ebbaaa1fe2a9f0f7a4b3. --- .../swift/expression/equality_operators/TestEqualityOperators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/test/API/lang/swift/expression/equality_operators/TestEqualityOperators.py b/lldb/test/API/lang/swift/expression/equality_operators/TestEqualityOperators.py index 9c579dfb202fb..3f77b61333f60 100644 --- a/lldb/test/API/lang/swift/expression/equality_operators/TestEqualityOperators.py +++ b/lldb/test/API/lang/swift/expression/equality_operators/TestEqualityOperators.py @@ -30,6 +30,7 @@ def execute_command(command): (exit_status, output) = subprocess.getstatusoutput(command) return exit_status +@skipIf(bugnumber = "rdar://159531216") class TestUnitTests(TestBase): @swiftTest @skipIf(debug_info=no_match(["dsym"]), bugnumber="This test is building a dSYM")