forked from OSchip/llvm-project
Removed spurious lookup of the $__lldb_expr
selector when compiling an expression in an Objective-C context. <rdar://problem/15797390> llvm-svn: 200950
This commit is contained in:
parent
1fec3dfe43
commit
d6be7085c2
|
@ -974,6 +974,9 @@ ClangASTSource::FindObjCMethodDecls (NameSearchContext &context)
|
|||
}
|
||||
ss.Flush();
|
||||
|
||||
if (strstr(ss.GetData(), "$__lldb"))
|
||||
return; // we don't need any results
|
||||
|
||||
ConstString selector_name(ss.GetData());
|
||||
|
||||
if (log)
|
||||
|
|
|
@ -113,14 +113,12 @@ class FoundationTestCase(TestBase):
|
|||
substrs = ["Foundation`-[NSAutoreleasePool release]"])
|
||||
|
||||
@dsym_test
|
||||
@expectedFailureDarwin(15797390)
|
||||
def test_expression_lookups_objc_dsym(self):
|
||||
"""Test running an expression detect spurious debug info lookups (dSYM)."""
|
||||
self.buildDsym()
|
||||
self.expression_lookups_objc()
|
||||
|
||||
@dwarf_test
|
||||
@expectedFailureDarwin(15797390)
|
||||
def test_expression_lookups_objc_dwarf(self):
|
||||
"""Test running an expression detect spurious debug info lookups (DWARF)."""
|
||||
self.buildDwarf()
|
||||
|
|
Loading…
Reference in New Issue