diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-12-19 23:05:01 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-12-19 23:05:01 +0000 |
| commit | 7be70e85287e5b6f8acd38faff28895ddf58ca4f (patch) | |
| tree | 947ffc9b59a760d3cad654d7d63cebbe874ad701 /lldb/test/python_api | |
| parent | 6848e38daf24547a639a48e4585fef5268ede3cc (diff) | |
| download | bcm5719-llvm-7be70e85287e5b6f8acd38faff28895ddf58ca4f.tar.gz bcm5719-llvm-7be70e85287e5b6f8acd38faff28895ddf58ca4f.zip | |
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.
<rdar://problem/12885034>
llvm-svn: 170601
Diffstat (limited to 'lldb/test/python_api')
| -rw-r--r-- | lldb/test/python_api/type/TestTypeList.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |

