summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-05-22 19:10:15 +0000
committerAdrian Prantl <aprantl@apple.com>2013-05-22 19:10:15 +0000
commitef6fca5536225f670d2556b064d50d5db1526212 (patch)
tree4ace63de9700252e340f329259160fd729b34f8c /clang/test/CodeGenObjC
parentd082ea15f42b4ea62ab3850f5293d036c817fea1 (diff)
downloadbcm5719-llvm-ef6fca5536225f670d2556b064d50d5db1526212.tar.gz
bcm5719-llvm-ef6fca5536225f670d2556b064d50d5db1526212.zip
Bugfix for r181629:
- The return type should be a pointer to the class type. - Make the condition more specific. rdar://problem/13359718 llvm-svn: 182504
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/debug-info-instancetype.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-instancetype.m b/clang/test/CodeGenObjC/debug-info-instancetype.m
index 7275b63d17a..06861606060 100644
--- a/clang/test/CodeGenObjC/debug-info-instancetype.m
+++ b/clang/test/CodeGenObjC/debug-info-instancetype.m
@@ -16,7 +16,8 @@
// CHECK: ![[FOO:[0-9]+]] = metadata {{.*}}; [ DW_TAG_structure_type ] [Foo]
// CHECK: metadata !"+[Foo defaultFoo]", metadata !"", i32 [[@LINE-2]], metadata ![[TYPE:[0-9]+]]
// CHECK: ![[TYPE]] = {{.*}} metadata ![[RESULT:[0-9]+]], i32 {{.*}}, i32 {{.*}}} ; [ DW_TAG_subroutine_type ]
-// CHECK: ![[RESULT]] = metadata !{metadata ![[FOO]],
+// CHECK: ![[RESULT]] = metadata {{.*}}{metadata ![[FOOPTR:[0-9]+]],
+// CHECK: ![[FOOPTR]] = {{.*}}, metadata ![[FOO]]}{{.*}}[ DW_TAG_pointer_type ] {{.*}} [from Foo]
@end
OpenPOWER on IntegriCloud