[Lldb-commits] [lldb] r115052 - /lldb/trunk/test/foundation/TestObjCMethods.py
Johnny Chen
johnny.chen at apple.com
Wed Sep 29 11:05:04 PDT 2010
Author: johnny
Date: Wed Sep 29 13:05:03 2010
New Revision: 115052
URL: http://llvm.org/viewvc/llvm-project?rev=115052&view=rev
Log:
Updated the comment section for running 'expr self->string' and 'expr self->date'.
The failures are similar in nature to the radar already filed:
# rdar://problem/8492646
# test/foundation fails after updating to tot r115023
# self->str displays nothing as output
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=115052&r1=115051&r2=115052&view=diff
==============================================================================
--- lldb/trunk/test/foundation/TestObjCMethods.py (original)
+++ lldb/trunk/test/foundation/TestObjCMethods.py Wed Sep 29 13:05:03 2010
@@ -126,12 +126,15 @@
startstr = "(NSDate *) self->date")
# TODO: use expression parser.
+ # self.runCmd("expr self->str")
+ # self.runCmd("expr self->date")
+
# (lldb) expr self->str
- # error: instance variable 'str' is protected
+ # error: 'MyString' does not have a member named 'str'
# error: 1 errors parsing expression
# Couldn't parse the expresssion
# (lldb) expr self->date
- # error: instance variable 'date' is protected
+ # error: 'MyString' does not have a member named 'date'
# error: 1 errors parsing expression
# Couldn't parse the expresssion
More information about the lldb-commits
mailing list