From 07f06c4e96916965c5d9a262a5b90116ad464e4c Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Thu, 11 Nov 2010 19:15:04 +0000 Subject: [PATCH] Added a simple test for: rdar://problem/8651752 don't crash trying to ask clang how many children an empty record has llvm-svn: 118820 --- lldb/test/foundation/TestObjCMethods.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/test/foundation/TestObjCMethods.py b/lldb/test/foundation/TestObjCMethods.py index 59bf01c5cf8a..fb2730a0957a 100644 --- a/lldb/test/foundation/TestObjCMethods.py +++ b/lldb/test/foundation/TestObjCMethods.py @@ -122,6 +122,10 @@ class FoundationTestCase(TestBase): patterns = ["ARG: \(.*\) _cmd", "(struct objc_selector *)|(SEL)"]) + # rdar://problem/8651752 + # don't crash trying to ask clang how many children an empty record has + self.runCmd("frame variable *_cmd") + # rdar://problem/8492646 # test/foundation fails after updating to tot r115023 # self->str displays nothing as output