summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/debug-info-id-with-protocol.m
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-03 17:25:55 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-03 17:25:55 +0000
commitf04be1fb3a9f4b8a7591824d6985556ac578e3cf (patch)
tree67c831ea44725cbc04fa0a14fbebea1f1f7aea56 /clang/test/CodeGenObjC/debug-info-id-with-protocol.m
parente274180f0efb5ff3358cf6076846b4cb326b2ed7 (diff)
downloadbcm5719-llvm-f04be1fb3a9f4b8a7591824d6985556ac578e3cf.tar.gz
bcm5719-llvm-f04be1fb3a9f4b8a7591824d6985556ac578e3cf.zip
DebugInfo: Move new hierarchy into place (clang)
Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
Diffstat (limited to 'clang/test/CodeGenObjC/debug-info-id-with-protocol.m')
-rw-r--r--clang/test/CodeGenObjC/debug-info-id-with-protocol.m11
1 files changed, 8 insertions, 3 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-id-with-protocol.m b/clang/test/CodeGenObjC/debug-info-id-with-protocol.m
index 9233f6ccc85..c3b88d77623 100644
--- a/clang/test/CodeGenObjC/debug-info-id-with-protocol.m
+++ b/clang/test/CodeGenObjC/debug-info-id-with-protocol.m
@@ -36,7 +36,12 @@ int main()
}
}
// Verify that the debug type for both variables is 'id'.
-// CHECK: !"0x101\00bad_carrier\00{{[0-9]+}}\000", !{{[0-9]+}}, null, ![[IDTYPE:[0-9]+]]} ; [ DW_TAG_arg_variable ] [bad_carrier] [line 0]
+// CHECK: ![[IDTYPE:[0-9]+]] = !MDDerivedType(tag: DW_TAG_typedef, name: "id"
//
-// CHECK: !"0x101\00good_carrier\00{{[0-9]+}}\000", !{{[0-9]+}}, null, ![[IDTYPE]]} ; [ DW_TAG_arg_variable ] [good_carrier] [line 0]
-// CHECK !{{.*}}[[IDTYPE]] = !{!"0x16\00id\00{{[0-9]+}}\000\000\000\000", null, !{{[0-9]+}}, !{{[0-9]+}}} ; [ DW_TAG_typedef ] [id]
+// CHECK: !MDLocalVariable(tag: DW_TAG_arg_variable, name: "bad_carrier"
+// CHECK-NOT: line:
+// CHECK-SAME: type: ![[IDTYPE]]
+//
+// CHECK: !MDLocalVariable(tag: DW_TAG_arg_variable, name: "good_carrier"
+// CHECK-NOT: line:
+// CHECK-SAME: type: ![[IDTYPE]]
OpenPOWER on IntegriCloud