summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-14 01:20:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-14 01:20:56 +0000
commitf5c79709bc08b99f4eb3e61b51e408c77a0bc046 (patch)
treede4c94d8f549d53aeb9d7f1eb147adedd2925a32 /clang/test/CodeGenObjC
parentb1f9128c721a2ac1cb99803800bc8e24cd018ffc (diff)
downloadbcm5719-llvm-f5c79709bc08b99f4eb3e61b51e408c77a0bc046.tar.gz
bcm5719-llvm-f5c79709bc08b99f4eb3e61b51e408c77a0bc046.zip
Update debug info generation for ObjCObjectPointer changes.
- Previously this would crash on recursive types, and it was also incorrectly stripping off a level of indirection. - I'm not 100% convinced this is all correct, but it should be a monotonic improvment. llvm-svn: 75582
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/debug-info.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-info.m b/clang/test/CodeGenObjC/debug-info.m
index 9c461ba68fb..519706be796 100644
--- a/clang/test/CodeGenObjC/debug-info.m
+++ b/clang/test/CodeGenObjC/debug-info.m
@@ -16,3 +16,11 @@
@implementation A // Line 15
-(void) m0 {}
@end
+
+@interface I1 {
+ I1 *iv0;
+}
+@end
+void f0(void) {
+ I1 *x;
+}
OpenPOWER on IntegriCloud