From 7be70e85287e5b6f8acd38faff28895ddf58ca4f Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Wed, 19 Dec 2012 23:05:01 +0000 Subject: This patch removes the SymbolFileSymtab support for reporting class types from Objective-C runtime class symbols. Instead, LLDB now queries the Objective-C runtime for class types. We have also added a (minimal) Objective-C runtime type vendor for Objective-C runtime version 1, to prevent regressions when calling class methods in the V1 runtime. Other components of this fix include: - We search the Objective-C runtime in a few more places. - We enable enumeration of all members of Objective-C classes, which Clang does in certain circumstances. - SBTarget::FindFirstType and SBTarget::FindTypes now query the Objective-C runtime as needed. - I fixed several test cases. llvm-svn: 170601 --- lldb/test/python_api/type/TestTypeList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/python_api') diff --git a/lldb/test/python_api/type/TestTypeList.py b/lldb/test/python_api/type/TestTypeList.py index 05643e675cc..d0e4dd6c449 100644 --- a/lldb/test/python_api/type/TestTypeList.py +++ b/lldb/test/python_api/type/TestTypeList.py @@ -66,7 +66,7 @@ class TypeAndTypeListTestCase(TestBase): type_list = target.FindTypes('Task') if self.TraceOn(): print "Size of type_list from target.FindTypes('Task') query: %d" % type_list.GetSize() - self.assertTrue(len(type_list) == 1) + self.assertTrue(len(type_list) >= 1) # a second Task make be scared up by the Objective-C runtime for type in type_list: self.assertTrue(type) self.DebugSBType(type) -- cgit v1.2.3