Added some tests for ObjC stepping, step into ordinary and stret methods, and stepping
through a KVO swizzled object's method calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121457 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/objc-stepping/stepping-tests.m b/test/objc-stepping/stepping-tests.m
index 0d5e28a..cc62dc2 100644
--- a/test/objc-stepping/stepping-tests.m
+++ b/test/objc-stepping/stepping-tests.m
@@ -19,12 +19,12 @@
@implementation SourceBase
- (void) randomMethod
{
- printf ("Called in SourceBase version of randomMethod.\n");
+ printf ("Called in SourceBase version of randomMethod.\n"); // SourceBase randomMethod start line.
}
- (struct return_me) returnsStruct
{
- return my_return;
+ return my_return; // SourceBase returnsStruct start line.
}
- (SourceBase *) initWithFirst: (int) first andSecond: (int) second
@@ -53,14 +53,14 @@
- (void) randomMethod
{
- [super randomMethod];
+ [super randomMethod]; // Source randomMethod start line.
printf ("Called in Source version of random method.");
}
- (struct return_me) returnsStruct
{
- printf ("Called in Source version of returnsStruct.\n");
- return [super returnsStruct];
+ printf ("Called in Source version of returnsStruct.\n"); // Source returnsStruct start line.
+ return [super returnsStruct]; // Source returnsStruct call line.
}
@end