diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 17:21:38 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 17:21:38 +0000 |
commit | f9b4775c78b806647b4db18b36719463dee3bafc (patch) | |
tree | 6ff4632f28db62a63bdde6fe440f5ff38c26a20c /llvm/test | |
parent | 215e7edfe08ad51895be3a883eb375003ce34160 (diff) | |
download | bcm5719-llvm-f9b4775c78b806647b4db18b36719463dee3bafc.tar.gz bcm5719-llvm-f9b4775c78b806647b4db18b36719463dee3bafc.zip |
Verifier: Add operand checks for remaining debug info
llvm-svn: 233565
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Assembler/mdimportedentity.ll | 8 | ||||
-rw-r--r-- | llvm/test/Assembler/mdnamespace.ll | 2 | ||||
-rw-r--r-- | llvm/test/Assembler/mdobjcproperty.ll | 5 | ||||
-rw-r--r-- | llvm/test/Assembler/mdtemplateparameter.ll | 4 |
4 files changed, 9 insertions, 10 deletions
diff --git a/llvm/test/Assembler/mdimportedentity.ll b/llvm/test/Assembler/mdimportedentity.ll index 0584edbba92..8e98c5de212 100644 --- a/llvm/test/Assembler/mdimportedentity.ll +++ b/llvm/test/Assembler/mdimportedentity.ll @@ -4,10 +4,10 @@ ; CHECK: !named = !{!0, !1, !2, !3, !3} !named = !{!0, !1, !2, !3, !4} -; CHECK: !0 = distinct !{} -; CHECK-NEXT: !1 = distinct !{} -!0 = distinct !{} -!1 = distinct !{} +; CHECK: !0 = !MDSubprogram({{.*}}) +; CHECK-NEXT: !1 = !MDCompositeType({{.*}}) +!0 = !MDSubprogram(name: "foo") +!1 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32) ; CHECK-NEXT: !2 = !MDImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, line: 7) !2 = !MDImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, diff --git a/llvm/test/Assembler/mdnamespace.ll b/llvm/test/Assembler/mdnamespace.ll index 90cb15f7d8c..e708a3c5faf 100644 --- a/llvm/test/Assembler/mdnamespace.ll +++ b/llvm/test/Assembler/mdnamespace.ll @@ -4,7 +4,7 @@ ; CHECK: !named = !{!0, !1, !2, !3, !4, !4} !named = !{!0, !1, !2, !3, !4, !5} -!0 = distinct !{} +!0 = !MDFile(filename: "file.cpp", directory: "/path/to/dir") !1 = distinct !{} !2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir") diff --git a/llvm/test/Assembler/mdobjcproperty.ll b/llvm/test/Assembler/mdobjcproperty.ll index cb2f4d32383..a3b20e5d99d 100644 --- a/llvm/test/Assembler/mdobjcproperty.ll +++ b/llvm/test/Assembler/mdobjcproperty.ll @@ -6,10 +6,9 @@ !0 = distinct !{} !1 = !MDFile(filename: "path/to/file", directory: "/path/to/dir") -!2 = distinct !{} +!2 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Object") - -; CHECK: !2 = distinct !{} +; CHECK: !2 = !MDCompositeType({{.*}}) ; CHECK-NEXT: !3 = !MDObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, type: !2) !3 = !MDObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, type: !2) diff --git a/llvm/test/Assembler/mdtemplateparameter.ll b/llvm/test/Assembler/mdtemplateparameter.ll index 22ee5c81c2b..5bcef3f21e9 100644 --- a/llvm/test/Assembler/mdtemplateparameter.ll +++ b/llvm/test/Assembler/mdtemplateparameter.ll @@ -5,8 +5,8 @@ !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8} !0 = distinct !{} -!1 = distinct !{} -; CHECK: !1 = distinct !{} +!1 = !MDBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +; CHECK: !1 = !MDBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) ; CHECK-NEXT: !2 = !MDTemplateTypeParameter(name: "Ty", type: !1) ; CHECK-NEXT: !3 = !MDTemplateTypeParameter(type: !1) |