Skip to content

Commit 7520b57

Browse files
committed
Revert "[lldb] look up function names in the swift language plugin (#11477)"
This reverts commit 13c116b.
1 parent 6e4c686 commit 7520b57

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lldb/source/Core/Module.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,7 @@ Module::LookupInfo::LookupInfo(ConstString name,
661661
if (language != eLanguageTypeUnknown)
662662
lang_types.push_back(language);
663663
else
664-
lang_types = {eLanguageTypeObjC, eLanguageTypeC_plus_plus,
665-
#ifdef LLDB_ENABLE_SWIFT
666-
eLanguageTypeSwift
667-
#endif
668-
};
664+
lang_types = {eLanguageTypeObjC, eLanguageTypeC_plus_plus};
669665

670666
for (LanguageType lang_type : lang_types) {
671667
if (Language *lang = Language::FindPlugin(lang_type))

lldb/test/API/lang/swift/break_by_partial_name/TestSwiftBreakByPartialName.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
Tests that we can break on a partial name of a Swift function
1414
Effectively tests our chopper of Swift demangled names
1515
"""
16+
import lldb
1617
from lldbsuite.test.lldbtest import *
1718
from lldbsuite.test.decorators import *
1819
import lldbsuite.test.lldbutil as lldbutil
1920

21+
@skipIf(bugnumber = "rdar://159531198")
2022
class SwiftPartialBreakTest(TestBase):
2123
@swiftTest
2224
def test_swift_partial_break(self):

0 commit comments

Comments
 (0)