diff options
| author | Jim Ingham <jingham@apple.com> | 2014-03-20 01:08:27 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2014-03-20 01:08:27 +0000 |
| commit | c81a99eb48760cd44e055de09614f2eba5e86a8b (patch) | |
| tree | f4e7ae9c5713650223004e36ed8eb8eb2ef1eb35 | |
| parent | 4e2084d792f615243c97a6bc3d2273a7d31f9114 (diff) | |
| download | bcm5719-llvm-c81a99eb48760cd44e055de09614f2eba5e86a8b.tar.gz bcm5719-llvm-c81a99eb48760cd44e055de09614f2eba5e86a8b.zip | |
More recent compilers emit debug info for the length property of NSString, so the length will be correctly
reported as NSUInteger. Adopt the test case to handle either possibility.
llvm-svn: 204288
| -rw-r--r-- | lldb/test/lang/objc/foundation/TestRuntimeTypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/objc/foundation/TestRuntimeTypes.py b/lldb/test/lang/objc/foundation/TestRuntimeTypes.py index 0cfa89b13c2..bcf96b111b1 100644 --- a/lldb/test/lang/objc/foundation/TestRuntimeTypes.py +++ b/lldb/test/lang/objc/foundation/TestRuntimeTypes.py @@ -46,7 +46,7 @@ class RuntimeTypesTestCase(TestBase): # The length property should be usable. self.expect("expression str.length", VARIABLES_DISPLAYED_CORRECTLY, - substrs = ["(unsigned long long)"]) + patterns = [r"(\(unsigned long long\))|\(NSUInteger\)"]) # Static methods on NSString should work. self.expect("expr [NSString stringWithCString:\"foo\" encoding:1]", VALID_TYPE, |

