[Lldb-commits] [lldb] r118820 - /lldb/trunk/test/foundation/TestObjCMethods.py

Johnny Chen johnny.chen at apple.com
Thu Nov 11 11:15:04 PST 2010


Author: johnny
Date: Thu Nov 11 13:15:04 2010
New Revision: 118820

URL: http://llvm.org/viewvc/llvm-project?rev=118820&view=rev
Log:
Added a simple test for:

    rdar://problem/8651752
    don't crash trying to ask clang how many children an empty record has

Modified:
    lldb/trunk/test/foundation/TestObjCMethods.py

Modified: lldb/trunk/test/foundation/TestObjCMethods.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/foundation/TestObjCMethods.py?rev=118820&r1=118819&r2=118820&view=diff
==============================================================================
--- lldb/trunk/test/foundation/TestObjCMethods.py (original)
+++ lldb/trunk/test/foundation/TestObjCMethods.py Thu Nov 11 13:15:04 2010
@@ -122,6 +122,10 @@
             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





More information about the lldb-commits mailing list