DebugInfo: Rename testcases from MD* to DI*, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 2 Jun 2015 17:13:25 +0000 (17:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 2 Jun 2015 17:13:25 +0000 (17:13 +0000)
As a follow-up to r236120, rename testcases to match the new names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238853 91177308-0d34-0410-b5e6-96231b3b80d8

112 files changed:
test/Assembler/dicompileunit.ll [new file with mode: 0644]
test/Assembler/diexpression.ll [new file with mode: 0644]
test/Assembler/difile-escaped-chars.ll [new file with mode: 0644]
test/Assembler/diglobalvariable.ll [new file with mode: 0644]
test/Assembler/diimportedentity.ll [new file with mode: 0644]
test/Assembler/dilexicalblock.ll [new file with mode: 0644]
test/Assembler/dilocalvariable.ll [new file with mode: 0644]
test/Assembler/dilocation.ll [new file with mode: 0644]
test/Assembler/dinamespace.ll [new file with mode: 0644]
test/Assembler/diobjcproperty.ll [new file with mode: 0644]
test/Assembler/disubprogram.ll [new file with mode: 0644]
test/Assembler/disubrange-empty-array.ll [new file with mode: 0644]
test/Assembler/disubroutinetype.ll [new file with mode: 0644]
test/Assembler/ditemplateparameter.ll [new file with mode: 0644]
test/Assembler/ditype-large-values.ll [new file with mode: 0644]
test/Assembler/invalid-dicompileunit-language-bad.ll [new file with mode: 0644]
test/Assembler/invalid-dicompileunit-language-overflow.ll [new file with mode: 0644]
test/Assembler/invalid-dicompileunit-missing-language.ll [new file with mode: 0644]
test/Assembler/invalid-dicompileunit-null-file.ll [new file with mode: 0644]
test/Assembler/invalid-dicompositetype-missing-tag.ll [new file with mode: 0644]
test/Assembler/invalid-diderivedtype-missing-basetype.ll [new file with mode: 0644]
test/Assembler/invalid-diderivedtype-missing-tag.ll [new file with mode: 0644]
test/Assembler/invalid-dienumerator-missing-name.ll [new file with mode: 0644]
test/Assembler/invalid-dienumerator-missing-value.ll [new file with mode: 0644]
test/Assembler/invalid-diexpression-large.ll [new file with mode: 0644]
test/Assembler/invalid-diexpression-verify.ll [new file with mode: 0644]
test/Assembler/invalid-difile-missing-directory.ll [new file with mode: 0644]
test/Assembler/invalid-difile-missing-filename.ll [new file with mode: 0644]
test/Assembler/invalid-diglobalvariable-empty-name.ll [new file with mode: 0644]
test/Assembler/invalid-diglobalvariable-missing-name.ll [new file with mode: 0644]
test/Assembler/invalid-diimportedentity-missing-scope.ll [new file with mode: 0644]
test/Assembler/invalid-diimportedentity-missing-tag.ll [new file with mode: 0644]
test/Assembler/invalid-dilexicalblock-missing-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilexicalblock-null-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilexicalblockfile-missing-discriminator.ll [new file with mode: 0644]
test/Assembler/invalid-dilexicalblockfile-missing-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilexicalblockfile-null-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilocalvariable-missing-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilocalvariable-missing-tag.ll [new file with mode: 0644]
test/Assembler/invalid-dilocalvariable-null-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-field-bad.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-field-twice.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-missing-scope-2.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-missing-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-null-scope.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-overflow-column.ll [new file with mode: 0644]
test/Assembler/invalid-dilocation-overflow-line.ll [new file with mode: 0644]
test/Assembler/invalid-dinamespace-missing-namespace.ll [new file with mode: 0644]
test/Assembler/invalid-disubrange-count-large.ll [new file with mode: 0644]
test/Assembler/invalid-disubrange-count-missing.ll [new file with mode: 0644]
test/Assembler/invalid-disubrange-count-negative.ll [new file with mode: 0644]
test/Assembler/invalid-disubrange-lowerBound-max.ll [new file with mode: 0644]
test/Assembler/invalid-disubrange-lowerBound-min.ll [new file with mode: 0644]
test/Assembler/invalid-disubroutinetype-missing-types.ll [new file with mode: 0644]
test/Assembler/invalid-ditemplatetypeparameter-missing-type.ll [new file with mode: 0644]
test/Assembler/invalid-ditemplatevalueparameter-missing-value.ll [new file with mode: 0644]
test/Assembler/invalid-mdcompileunit-language-bad.ll [deleted file]
test/Assembler/invalid-mdcompileunit-language-overflow.ll [deleted file]
test/Assembler/invalid-mdcompileunit-missing-language.ll [deleted file]
test/Assembler/invalid-mdcompileunit-null-file.ll [deleted file]
test/Assembler/invalid-mdcompositetype-missing-tag.ll [deleted file]
test/Assembler/invalid-mdderivedtype-missing-basetype.ll [deleted file]
test/Assembler/invalid-mdderivedtype-missing-tag.ll [deleted file]
test/Assembler/invalid-mdenumerator-missing-name.ll [deleted file]
test/Assembler/invalid-mdenumerator-missing-value.ll [deleted file]
test/Assembler/invalid-mdexpression-large.ll [deleted file]
test/Assembler/invalid-mdexpression-verify.ll [deleted file]
test/Assembler/invalid-mdfile-missing-directory.ll [deleted file]
test/Assembler/invalid-mdfile-missing-filename.ll [deleted file]
test/Assembler/invalid-mdglobalvariable-empty-name.ll [deleted file]
test/Assembler/invalid-mdglobalvariable-missing-name.ll [deleted file]
test/Assembler/invalid-mdimportedentity-missing-scope.ll [deleted file]
test/Assembler/invalid-mdimportedentity-missing-tag.ll [deleted file]
test/Assembler/invalid-mdlexicalblock-missing-scope.ll [deleted file]
test/Assembler/invalid-mdlexicalblock-null-scope.ll [deleted file]
test/Assembler/invalid-mdlexicalblockfile-missing-discriminator.ll [deleted file]
test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll [deleted file]
test/Assembler/invalid-mdlexicalblockfile-null-scope.ll [deleted file]
test/Assembler/invalid-mdlocalvariable-missing-scope.ll [deleted file]
test/Assembler/invalid-mdlocalvariable-missing-tag.ll [deleted file]
test/Assembler/invalid-mdlocalvariable-null-scope.ll [deleted file]
test/Assembler/invalid-mdlocation-field-bad.ll [deleted file]
test/Assembler/invalid-mdlocation-field-twice.ll [deleted file]
test/Assembler/invalid-mdlocation-missing-scope-2.ll [deleted file]
test/Assembler/invalid-mdlocation-missing-scope.ll [deleted file]
test/Assembler/invalid-mdlocation-null-scope.ll [deleted file]
test/Assembler/invalid-mdlocation-overflow-column.ll [deleted file]
test/Assembler/invalid-mdlocation-overflow-line.ll [deleted file]
test/Assembler/invalid-mdnamespace-missing-namespace.ll [deleted file]
test/Assembler/invalid-mdsubrange-count-large.ll [deleted file]
test/Assembler/invalid-mdsubrange-count-missing.ll [deleted file]
test/Assembler/invalid-mdsubrange-count-negative.ll [deleted file]
test/Assembler/invalid-mdsubrange-lowerBound-max.ll [deleted file]
test/Assembler/invalid-mdsubrange-lowerBound-min.ll [deleted file]
test/Assembler/invalid-mdsubroutinetype-missing-types.ll [deleted file]
test/Assembler/invalid-mdtemplatetypeparameter-missing-type.ll [deleted file]
test/Assembler/invalid-mdtemplatevalueparameter-missing-value.ll [deleted file]
test/Assembler/mdcompileunit.ll [deleted file]
test/Assembler/mdexpression.ll [deleted file]
test/Assembler/mdfile-escaped-chars.ll [deleted file]
test/Assembler/mdglobalvariable.ll [deleted file]
test/Assembler/mdimportedentity.ll [deleted file]
test/Assembler/mdlexicalblock.ll [deleted file]
test/Assembler/mdlocalvariable.ll [deleted file]
test/Assembler/mdlocation.ll [deleted file]
test/Assembler/mdnamespace.ll [deleted file]
test/Assembler/mdobjcproperty.ll [deleted file]
test/Assembler/mdsubprogram.ll [deleted file]
test/Assembler/mdsubrange-empty-array.ll [deleted file]
test/Assembler/mdsubroutinetype.ll [deleted file]
test/Assembler/mdtemplateparameter.ll [deleted file]
test/Assembler/mdtype-large-values.ll [deleted file]

diff --git a/test/Assembler/dicompileunit.ll b/test/Assembler/dicompileunit.ll
new file mode 100644 (file)
index 0000000..dc136f0
--- /dev/null
@@ -0,0 +1,31 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !7, !8, !8}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10}
+
+!0 = distinct !{}
+!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+!2 = distinct !{}
+!3 = distinct !{}
+!4 = distinct !{}
+!5 = distinct !{}
+!6 = distinct !{}
+
+; CHECK: !7 = !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: 3, enums: !2, retainedTypes: !3, subprograms: !4, globals: !5, imports: !6, dwoId: 42)
+!7 = !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
+                    isOptimized: true, flags: "-O2", runtimeVersion: 2,
+                    splitDebugFilename: "abc.debug", emissionKind: 3,
+                    enums: !2, retainedTypes: !3, subprograms: !4,
+                    globals: !5, imports: !6, dwoId: 42)
+!8 = !DICompileUnit(language: 12, file: !1, producer: "clang",
+                    isOptimized: true, flags: "-O2", runtimeVersion: 2,
+                    splitDebugFilename: "abc.debug", emissionKind: 3,
+                    enums: !2, retainedTypes: !3, subprograms: !4,
+                    globals: !5, imports: !6, dwoId: 42)
+
+; CHECK: !8 = !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: 0)
+!9 = !DICompileUnit(language: 12, file: !1, producer: "",
+                    isOptimized: false, flags: "", runtimeVersion: 0,
+                    splitDebugFilename: "", emissionKind: 0)
+!10 = !DICompileUnit(language: 12, file: !1)
diff --git a/test/Assembler/diexpression.ll b/test/Assembler/diexpression.ll
new file mode 100644 (file)
index 0000000..31be86c
--- /dev/null
@@ -0,0 +1,16 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4}
+!named = !{!0, !1, !2, !3, !4}
+
+; CHECK:      !0 = !DIExpression()
+; CHECK-NEXT: !1 = !DIExpression(DW_OP_deref)
+; CHECK-NEXT: !2 = !DIExpression(DW_OP_plus, 3)
+; CHECK-NEXT: !3 = !DIExpression(DW_OP_bit_piece, 3, 7)
+; CHECK-NEXT: !4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)
+!0 = !DIExpression()
+!1 = !DIExpression(DW_OP_deref)
+!2 = !DIExpression(DW_OP_plus, 3)
+!3 = !DIExpression(DW_OP_bit_piece, 3, 7)
+!4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)
diff --git a/test/Assembler/difile-escaped-chars.ll b/test/Assembler/difile-escaped-chars.ll
new file mode 100644 (file)
index 0000000..5900fdc
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; Spot-check that metadata string fields are correctly escaped.
+
+!named = !{!0}
+
+; CHECK: !0 = !DIFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")
+!0 = !DIFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")
diff --git a/test/Assembler/diglobalvariable.ll b/test/Assembler/diglobalvariable.ll
new file mode 100644 (file)
index 0000000..0d027d3
--- /dev/null
@@ -0,0 +1,27 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+@foo = global i32 0
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
+
+!0 = !DIFile(filename: "scope.h", directory: "/path/to/dir")
+!1 = distinct !{}
+!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
+!4 = distinct !{}
+
+; CHECK: !5 = !DIGlobalVariable(name: "foo", linkageName: "foo", scope: !0, file: !2, line: 7, type: !3, isLocal: true, isDefinition: false, variable: i32* @foo)
+!5 = !DIGlobalVariable(name: "foo", linkageName: "foo", scope: !0,
+                       file: !2, line: 7, type: !3, isLocal: true,
+                       isDefinition: false, variable: i32* @foo)
+
+; CHECK: !6 = !DIGlobalVariable(name: "foo", scope: !0, isLocal: false, isDefinition: true)
+!6 = !DIGlobalVariable(name: "foo", scope: !0)
+
+!7 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 8, align: 8)
+!8 = !DIDerivedType(tag: DW_TAG_member, name: "mem", flags: DIFlagStaticMember, scope: !7, baseType: !3)
+
+; CHECK: !9 = !DIGlobalVariable(name: "mem", scope: !0, isLocal: false, isDefinition: true, declaration: !8)
+!9 = !DIGlobalVariable(name: "mem", scope: !0, declaration: !8)
diff --git a/test/Assembler/diimportedentity.ll b/test/Assembler/diimportedentity.ll
new file mode 100644 (file)
index 0000000..929267e
--- /dev/null
@@ -0,0 +1,20 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !3}
+!named = !{!0, !1, !2, !3, !4}
+
+; CHECK:      !0 = !DISubprogram({{.*}})
+; CHECK-NEXT: !1 = !DICompositeType({{.*}})
+!0 = !DISubprogram(name: "foo")
+!1 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32)
+
+; CHECK-NEXT: !2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, line: 7)
+!2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0,
+                       entity: !1, line: 7)
+
+; CHECK-NEXT: !3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
+!3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
+!4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "", scope: !0, entity: null,
+                       line: 0)
+
diff --git a/test/Assembler/dilexicalblock.ll b/test/Assembler/dilexicalblock.ll
new file mode 100644 (file)
index 0000000..2cab372
--- /dev/null
@@ -0,0 +1,25 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !4, !5, !6, !7, !7}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
+
+!0 = distinct !{}
+!1 = !DISubprogram(name: "foo", scope: !2)
+!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+
+; CHECK: !3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
+!3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
+
+; CHECK: !4 = !DILexicalBlock(scope: !1)
+!4 = !DILexicalBlock(scope: !1)
+!5 = !DILexicalBlock(scope: !1, file: null, line: 0, column: 0)
+
+; CHECK: !5 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
+; CHECK: !6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
+!6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
+!7 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
+
+; CHECK: !7 = !DILexicalBlockFile(scope: !3, discriminator: 7)
+!8 = !DILexicalBlockFile(scope: !3, discriminator: 7)
+!9 = !DILexicalBlockFile(scope: !3, file: null, discriminator: 7)
diff --git a/test/Assembler/dilocalvariable.ll b/test/Assembler/dilocalvariable.ll
new file mode 100644 (file)
index 0000000..312373c
--- /dev/null
@@ -0,0 +1,26 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+@foo = global i32 0
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
+
+!0 = distinct !DISubprogram()
+!1 = distinct !{}
+!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
+!4 = !DILocation(scope: !0)
+
+; CHECK: !5 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 3, scope: !0, file: !2, line: 7, type: !3, flags: DIFlagArtificial)
+; CHECK: !6 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "foo", scope: !0, file: !2, line: 7, type: !3, flags: DIFlagArtificial)
+!5 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 3,
+                      scope: !0, file: !2, line: 7, type: !3,
+                      flags: DIFlagArtificial)
+!6 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "foo", scope: !0,
+                      file: !2, line: 7, type: !3, flags: DIFlagArtificial)
+
+; CHECK: !7 = !DILocalVariable(tag: DW_TAG_arg_variable, arg: 0, scope: !0)
+; CHECK: !8 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !0)
+!7 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !0)
+!8 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !0)
diff --git a/test/Assembler/dilocation.ll b/test/Assembler/dilocation.ll
new file mode 100644 (file)
index 0000000..a468f8a
--- /dev/null
@@ -0,0 +1,23 @@
+; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !1, !2, !2, !3, !3, !4}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7}
+
+; CHECK: !0 = !DISubprogram(
+!0 = !DISubprogram()
+
+; CHECK-NEXT: !1 = !DILocation(line: 3, column: 7, scope: !0)
+!1 = !DILocation(line: 3, column: 7, scope: !0)
+!2 = !DILocation(scope: !0, column: 7, line: 3)
+
+; CHECK-NEXT: !2 = !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !1)
+!3 = !DILocation(scope: !0, inlinedAt: !1, column: 7, line: 3)
+!4 = !DILocation(column: 7, line: 3, scope: !0, inlinedAt: !1)
+
+; CHECK-NEXT: !3 = !DILocation(line: 0, scope: !0)
+!5 = !DILocation(scope: !0)
+!6 = !DILocation(scope: !0, column: 0, line: 0)
+
+; CHECK-NEXT: !4 = !DILocation(line: 4294967295, column: 65535, scope: !0)
+!7 = !DILocation(line: 4294967295, column: 65535, scope: !0)
diff --git a/test/Assembler/dinamespace.ll b/test/Assembler/dinamespace.ll
new file mode 100644 (file)
index 0000000..5d8b6b3
--- /dev/null
@@ -0,0 +1,16 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
+!named = !{!0, !1, !2, !3, !4, !5}
+
+!0 = !DIFile(filename: "file.cpp", directory: "/path/to/dir")
+!1 = distinct !{}
+!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+
+; CHECK: !3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
+!3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
+
+; CHECK: !4 = !DINamespace(scope: !0)
+!4 = !DINamespace(name: "", scope: !0, file: null, line: 0)
+!5 = !DINamespace(scope: !0)
diff --git a/test/Assembler/diobjcproperty.ll b/test/Assembler/diobjcproperty.ll
new file mode 100644 (file)
index 0000000..ca13e27
--- /dev/null
@@ -0,0 +1,19 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
+!named = !{!0, !1, !2, !3, !4, !5}
+
+!0 = distinct !{}
+!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+!2 = !DICompositeType(tag: DW_TAG_structure_type, name: "Object")
+
+; CHECK: !2 = !DICompositeType({{.*}})
+; CHECK-NEXT: !3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, type: !2)
+!3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo",
+                     getter: "getFoo", attributes: 7, type: !2)
+
+; CHECK-NEXT: !4 = !DIObjCProperty()
+!4 = !DIObjCProperty(name: "", file: null, line: 0, setter: "", getter: "",
+                     attributes: 0, type: null)
+!5 = !DIObjCProperty()
diff --git a/test/Assembler/disubprogram.ll b/test/Assembler/disubprogram.ll
new file mode 100644 (file)
index 0000000..3fa1081
--- /dev/null
@@ -0,0 +1,28 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+declare void @_Z3foov()
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
+
+!0 = !{null}
+!1 = distinct !DICompositeType(tag: DW_TAG_structure_type)
+!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
+!3 = !DISubroutineType(types: !0)
+!4 = distinct !DICompositeType(tag: DW_TAG_structure_type)
+!5 = distinct !{}
+!6 = distinct !DISubprogram(isDefinition: false)
+!7 = distinct !{}
+
+; CHECK: !8 = !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1, file: !2, line: 7, type: !3, isLocal: true, isDefinition: false, scopeLine: 8, containingType: !4, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 10, flags: DIFlagPrototyped, isOptimized: true, function: void ()* @_Z3foov, templateParams: !5, declaration: !6, variables: !7)
+!8 = !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,
+                   file: !2, line: 7, type: !3, isLocal: true,
+                   isDefinition: false, scopeLine: 8, containingType: !4,
+                   virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 10,
+                   flags: DIFlagPrototyped, isOptimized: true, function: void ()* @_Z3foov,
+                   templateParams: !5, declaration: !6, variables: !7)
+
+; CHECK: !9 = !DISubprogram(scope: null, isLocal: false, isDefinition: true, isOptimized: false)
+!9 = !DISubprogram()
+
diff --git a/test/Assembler/disubrange-empty-array.ll b/test/Assembler/disubrange-empty-array.ll
new file mode 100644 (file)
index 0000000..7b5279e
--- /dev/null
@@ -0,0 +1,14 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !0, !1, !2}
+!named = !{!0, !1, !2, !3}
+
+; CHECK:      !0 = !DISubrange(count: -1)
+; CHECK-NEXT: !1 = !DISubrange(count: -1, lowerBound: 4)
+; CHECK-NEXT: !2 = !DISubrange(count: -1, lowerBound: -5)
+!0 = !DISubrange(count: -1)
+!1 = !DISubrange(count: -1, lowerBound: 0)
+
+!2 = !DISubrange(count: -1, lowerBound: 4)
+!3 = !DISubrange(count: -1, lowerBound: -5)
diff --git a/test/Assembler/disubroutinetype.ll b/test/Assembler/disubroutinetype.ll
new file mode 100644 (file)
index 0000000..4ec2be7
--- /dev/null
@@ -0,0 +1,23 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
+
+!0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
+!1 = !{null}
+!2 = !{null, !0}
+!3 = !{!0, !0, !0}
+
+
+; CHECK: !4 = !DISubroutineType(types: !1)
+; CHECK: !5 = !DISubroutineType(types: !2)
+; CHECK: !6 = !DISubroutineType(types: !3)
+; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
+!4 = !DISubroutineType(types: !1)
+!5 = !DISubroutineType(types: !2)
+!6 = !DISubroutineType(types: !3)
+!7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
+
+; CHECK: !8 = !DISubroutineType(types: null)
+!8 = !DISubroutineType(types: null)
diff --git a/test/Assembler/ditemplateparameter.ll b/test/Assembler/ditemplateparameter.ll
new file mode 100644 (file)
index 0000000..a356ad4
--- /dev/null
@@ -0,0 +1,24 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2, !3, !3, !4, !5, !5, !6}
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
+
+!0 = distinct !{}
+!1 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
+; CHECK: !1 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
+
+; CHECK-NEXT: !2 = !DITemplateTypeParameter(name: "Ty", type: !1)
+; CHECK-NEXT: !3 = !DITemplateTypeParameter(type: !1)
+!2 = !DITemplateTypeParameter(name: "Ty", type: !1)
+!3 = !DITemplateTypeParameter(type: !1)
+!4 = !DITemplateTypeParameter(name: "", type: !1)
+
+; CHECK-NEXT: !4 = !DITemplateValueParameter(name: "V", type: !1, value: i32 7)
+; CHECK-NEXT: !5 = !DITemplateValueParameter(type: !1, value: i32 7)
+; CHECK-NEXT: !6 = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "param", type: !1, value: !"template")
+!5 = !DITemplateValueParameter(name: "V", type: !1, value: i32 7)
+!6 = !DITemplateValueParameter(type: !1, value: i32 7)
+!7 = !DITemplateValueParameter(tag: DW_TAG_template_value_parameter,
+                               name: "", type: !1, value: i32 7)
+!8 = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "param", type: !1, value: !"template")
diff --git a/test/Assembler/ditype-large-values.ll b/test/Assembler/ditype-large-values.ll
new file mode 100644 (file)
index 0000000..a371ac6
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1, !2}
+!named = !{!0, !1, !2}
+
+; CHECK:      !0 = !DIBasicType(name: "name", size: 18446744073709551615, align: 18446744073709551614, encoding: DW_ATE_unsigned_char)
+; CHECK-NEXT: !1 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
+; CHECK-NEXT: !2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
+!0 = !DIBasicType(tag: DW_TAG_base_type, name: "name", size: 18446744073709551615, align: 18446744073709551614, encoding: DW_ATE_unsigned_char)
+!1 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
+!2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
diff --git a/test/Assembler/invalid-dicompileunit-language-bad.ll b/test/Assembler/invalid-dicompileunit-language-bad.ll
new file mode 100644 (file)
index 0000000..e6f49f3
--- /dev/null
@@ -0,0 +1,5 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:31: error: invalid DWARF language 'DW_LANG_NoSuchLanguage'
+!0 = !DICompileUnit(language: DW_LANG_NoSuchLanguage,
+                    file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-dicompileunit-language-overflow.ll b/test/Assembler/invalid-dicompileunit-language-overflow.ll
new file mode 100644 (file)
index 0000000..c558f7a
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK-NOT: error:
+!0 = !DICompileUnit(language: 65535,
+                    file: !DIFile(filename: "a", directory: "b"))
+
+; CHECK: <stdin>:[[@LINE+1]]:31: error: value for 'language' too large, limit is 65535
+!1 = !DICompileUnit(language: 65536,
+                    file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-dicompileunit-missing-language.ll b/test/Assembler/invalid-dicompileunit-missing-language.ll
new file mode 100644 (file)
index 0000000..15631b7
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:65: error: missing required field 'language'
+!0 = !DICompileUnit(file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-dicompileunit-null-file.ll b/test/Assembler/invalid-dicompileunit-null-file.ll
new file mode 100644 (file)
index 0000000..cc1892e
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:27: error: 'file' cannot be null
+!0 = !DICompileUnit(file: null)
diff --git a/test/Assembler/invalid-dicompositetype-missing-tag.ll b/test/Assembler/invalid-dicompositetype-missing-tag.ll
new file mode 100644 (file)
index 0000000..e68c014
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:36: error: missing required field 'tag'
+!25 = !DICompositeType(name: "Type")
diff --git a/test/Assembler/invalid-diderivedtype-missing-basetype.ll b/test/Assembler/invalid-diderivedtype-missing-basetype.ll
new file mode 100644 (file)
index 0000000..308c2ea
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:45: error: missing required field 'baseType'
+!0 = !DIDerivedType(tag: DW_TAG_pointer_type)
diff --git a/test/Assembler/invalid-diderivedtype-missing-tag.ll b/test/Assembler/invalid-diderivedtype-missing-tag.ll
new file mode 100644 (file)
index 0000000..fd286f4
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:34: error: missing required field 'tag'
+!0 = !DIDerivedType(baseType: !{})
diff --git a/test/Assembler/invalid-dienumerator-missing-name.ll b/test/Assembler/invalid-dienumerator-missing-name.ll
new file mode 100644 (file)
index 0000000..656d343
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:28: error: missing required field 'name'
+!0 = !DIEnumerator(value: 7)
diff --git a/test/Assembler/invalid-dienumerator-missing-value.ll b/test/Assembler/invalid-dienumerator-missing-value.ll
new file mode 100644 (file)
index 0000000..0eee3be
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:32: error: missing required field 'value'
+!0 = !DIEnumerator(name: "name")
diff --git a/test/Assembler/invalid-diexpression-large.ll b/test/Assembler/invalid-diexpression-large.ll
new file mode 100644 (file)
index 0000000..32b77ee
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK-NOT: error:
+!0 = !DIExpression(18446744073709551615)
+
+; CHECK: <stdin>:[[@LINE+1]]:20: error: element too large, limit is 18446744073709551615
+!1 = !DIExpression(18446744073709551616)
diff --git a/test/Assembler/invalid-diexpression-verify.ll b/test/Assembler/invalid-diexpression-verify.ll
new file mode 100644 (file)
index 0000000..50d6943
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck -check-prefix VERIFY %s
+; RUN: llvm-as -disable-verify < %s | llvm-dis | FileCheck -check-prefix NOVERIFY %s
+
+; NOVERIFY: !named = !{!0}
+!named = !{!0}
+
+; NOVERIFY: !0 = !DIExpression(0, 1, 9, 7, 2)
+; VERIFY: assembly parsed, but does not verify
+!0 = !DIExpression(0, 1, 9, 7, 2)
diff --git a/test/Assembler/invalid-difile-missing-directory.ll b/test/Assembler/invalid-difile-missing-directory.ll
new file mode 100644 (file)
index 0000000..a54a22f
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:30: error: missing required field 'directory'
+!0 = !DIFile(filename: "file")
diff --git a/test/Assembler/invalid-difile-missing-filename.ll b/test/Assembler/invalid-difile-missing-filename.ll
new file mode 100644 (file)
index 0000000..17bf3da
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:30: error: missing required field 'filename'
+!0 = !DIFile(directory: "dir")
diff --git a/test/Assembler/invalid-diglobalvariable-empty-name.ll b/test/Assembler/invalid-diglobalvariable-empty-name.ll
new file mode 100644 (file)
index 0000000..a4e69f3
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:30: error: 'name' cannot be empty
+!0 = !DIGlobalVariable(name: "")
diff --git a/test/Assembler/invalid-diglobalvariable-missing-name.ll b/test/Assembler/invalid-diglobalvariable-missing-name.ll
new file mode 100644 (file)
index 0000000..baf4d73
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:24: error: missing required field 'name'
+!0 = !DIGlobalVariable()
diff --git a/test/Assembler/invalid-diimportedentity-missing-scope.ll b/test/Assembler/invalid-diimportedentity-missing-scope.ll
new file mode 100644 (file)
index 0000000..06164e8
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:51: error: missing required field 'scope'
+!3 = !DIImportedEntity(tag: DW_TAG_imported_module)
diff --git a/test/Assembler/invalid-diimportedentity-missing-tag.ll b/test/Assembler/invalid-diimportedentity-missing-tag.ll
new file mode 100644 (file)
index 0000000..996b1ff
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:33: error: missing required field 'tag'
+!3 = !DIImportedEntity(scope: !0)
diff --git a/test/Assembler/invalid-dilexicalblock-missing-scope.ll b/test/Assembler/invalid-dilexicalblock-missing-scope.ll
new file mode 100644 (file)
index 0000000..6108e69
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:29: error: missing required field 'scope'
+!0 = !DILexicalBlock(line: 7)
diff --git a/test/Assembler/invalid-dilexicalblock-null-scope.ll b/test/Assembler/invalid-dilexicalblock-null-scope.ll
new file mode 100644 (file)
index 0000000..7457b60
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:29: error: 'scope' cannot be null
+!0 = !DILexicalBlock(scope: null)
diff --git a/test/Assembler/invalid-dilexicalblockfile-missing-discriminator.ll b/test/Assembler/invalid-dilexicalblockfile-missing-discriminator.ll
new file mode 100644 (file)
index 0000000..bd8395c
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:36: error: missing required field 'discriminator'
+!0 = !DILexicalBlockFile(scope: !{})
diff --git a/test/Assembler/invalid-dilexicalblockfile-missing-scope.ll b/test/Assembler/invalid-dilexicalblockfile-missing-scope.ll
new file mode 100644 (file)
index 0000000..fd03750
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:42: error: missing required field 'scope'
+!0 = !DILexicalBlockFile(discriminator: 0)
diff --git a/test/Assembler/invalid-dilexicalblockfile-null-scope.ll b/test/Assembler/invalid-dilexicalblockfile-null-scope.ll
new file mode 100644 (file)
index 0000000..ae1a5d4
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:33: error: 'scope' cannot be null
+!0 = !DILexicalBlockFile(scope: null)
diff --git a/test/Assembler/invalid-dilocalvariable-missing-scope.ll b/test/Assembler/invalid-dilocalvariable-missing-scope.ll
new file mode 100644 (file)
index 0000000..45dcad7
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:48: error: missing required field 'scope'
+!0 = !DILocalVariable(tag: DW_TAG_auto_variable)
diff --git a/test/Assembler/invalid-dilocalvariable-missing-tag.ll b/test/Assembler/invalid-dilocalvariable-missing-tag.ll
new file mode 100644 (file)
index 0000000..18062ed
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:45: error: missing required field 'tag'
+!0 = !DILocalVariable(scope: !DISubprogram())
diff --git a/test/Assembler/invalid-dilocalvariable-null-scope.ll b/test/Assembler/invalid-dilocalvariable-null-scope.ll
new file mode 100644 (file)
index 0000000..859412a
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:30: error: 'scope' cannot be null
+!0 = !DILocalVariable(scope: null)
diff --git a/test/Assembler/invalid-dilocation-field-bad.ll b/test/Assembler/invalid-dilocation-field-bad.ll
new file mode 100644 (file)
index 0000000..e68aa45
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:18: error: invalid field 'bad'
+!0 = !DILocation(bad: 0)
diff --git a/test/Assembler/invalid-dilocation-field-twice.ll b/test/Assembler/invalid-dilocation-field-twice.ll
new file mode 100644 (file)
index 0000000..d1dab68
--- /dev/null
@@ -0,0 +1,6 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+!0 = !{}
+
+; CHECK: <stdin>:[[@LINE+1]]:38: error: field 'line' cannot be specified more than once
+!1 = !DILocation(line: 3, scope: !0, line: 3)
diff --git a/test/Assembler/invalid-dilocation-missing-scope-2.ll b/test/Assembler/invalid-dilocation-missing-scope-2.ll
new file mode 100644 (file)
index 0000000..380e3fd
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:25: error: missing required field 'scope'
+!0 = !DILocation(line: 7)
diff --git a/test/Assembler/invalid-dilocation-missing-scope.ll b/test/Assembler/invalid-dilocation-missing-scope.ll
new file mode 100644 (file)
index 0000000..fb0cd86
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:18: error: missing required field 'scope'
+!0 = !DILocation()
diff --git a/test/Assembler/invalid-dilocation-null-scope.ll b/test/Assembler/invalid-dilocation-null-scope.ll
new file mode 100644 (file)
index 0000000..38c59e1
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:25: error: 'scope' cannot be null
+!0 = !DILocation(scope: null)
diff --git a/test/Assembler/invalid-dilocation-overflow-column.ll b/test/Assembler/invalid-dilocation-overflow-column.ll
new file mode 100644 (file)
index 0000000..043f84d
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+!0 = !{}
+
+; CHECK-NOT: error:
+!1 = !DILocation(column: 65535, scope: !0)
+
+; CHECK: <stdin>:[[@LINE+1]]:26: error: value for 'column' too large, limit is 65535
+!2 = !DILocation(column: 65536, scope: !0)
diff --git a/test/Assembler/invalid-dilocation-overflow-line.ll b/test/Assembler/invalid-dilocation-overflow-line.ll
new file mode 100644 (file)
index 0000000..7a67742
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+!0 = !{}
+
+; CHECK-NOT: error:
+!1 = !DILocation(line: 4294967295, scope: !0)
+
+; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
+!2 = !DILocation(line: 4294967296, scope: !0)
diff --git a/test/Assembler/invalid-dinamespace-missing-namespace.ll b/test/Assembler/invalid-dinamespace-missing-namespace.ll
new file mode 100644 (file)
index 0000000..c29391b
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:36: error: missing required field 'scope'
+!0 = !DINamespace(name: "Namespace")
diff --git a/test/Assembler/invalid-disubrange-count-large.ll b/test/Assembler/invalid-disubrange-count-large.ll
new file mode 100644 (file)
index 0000000..003274f
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK-NOT: error:
+!0 = !DISubrange(count: 9223372036854775807)
+
+; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too large, limit is 9223372036854775807
+!1 = !DISubrange(count: 9223372036854775808)
diff --git a/test/Assembler/invalid-disubrange-count-missing.ll b/test/Assembler/invalid-disubrange-count-missing.ll
new file mode 100644 (file)
index 0000000..8fc4487
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:32: error: missing required field 'count'
+!0 = !DISubrange(lowerBound: -3)
diff --git a/test/Assembler/invalid-disubrange-count-negative.ll b/test/Assembler/invalid-disubrange-count-negative.ll
new file mode 100644 (file)
index 0000000..f2ad4c3
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK-NOT: error:
+!0 = !DISubrange(count: -1)
+
+; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too small, limit is -1
+!0 = !DISubrange(count: -2)
diff --git a/test/Assembler/invalid-disubrange-lowerBound-max.ll b/test/Assembler/invalid-disubrange-lowerBound-max.ll
new file mode 100644 (file)
index 0000000..e163dc4
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too large, limit is 9223372036854775807
+!0 = !DISubrange(count: 30, lowerBound: 9223372036854775808)
diff --git a/test/Assembler/invalid-disubrange-lowerBound-min.ll b/test/Assembler/invalid-disubrange-lowerBound-min.ll
new file mode 100644 (file)
index 0000000..1dc3a14
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too small, limit is -9223372036854775808
+!0 = !DISubrange(count: 30, lowerBound: -9223372036854775809)
diff --git a/test/Assembler/invalid-disubroutinetype-missing-types.ll b/test/Assembler/invalid-disubroutinetype-missing-types.ll
new file mode 100644 (file)
index 0000000..086e5cc
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:65: error: missing required field 'types'
+!29 = !DISubroutineType(flags: DIFlagPublic | DIFlagStaticMember)
diff --git a/test/Assembler/invalid-ditemplatetypeparameter-missing-type.ll b/test/Assembler/invalid-ditemplatetypeparameter-missing-type.ll
new file mode 100644 (file)
index 0000000..797abd2
--- /dev/null
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+1]]:44: error: missing required field 'type'
+!0 = !DITemplateTypeParameter(name: "param")
diff --git a/test/Assembler/invalid-ditemplatevalueparameter-missing-value.ll b/test/Assembler/invalid-ditemplatevalueparameter-missing-value.ll
new file mode 100644 (file)
index 0000000..883bea1
--- /dev/null
@@ -0,0 +1,5 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: [[@LINE+2]]:41: error: missing required field 'value'
+!0 = !DITemplateValueParameter(tag: DW_TAG_template_value_parameter,
+                               type: !{})
diff --git a/test/Assembler/invalid-mdcompileunit-language-bad.ll b/test/Assembler/invalid-mdcompileunit-language-bad.ll
deleted file mode 100644 (file)
index e6f49f3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:31: error: invalid DWARF language 'DW_LANG_NoSuchLanguage'
-!0 = !DICompileUnit(language: DW_LANG_NoSuchLanguage,
-                    file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-mdcompileunit-language-overflow.ll b/test/Assembler/invalid-mdcompileunit-language-overflow.ll
deleted file mode 100644 (file)
index c558f7a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK-NOT: error:
-!0 = !DICompileUnit(language: 65535,
-                    file: !DIFile(filename: "a", directory: "b"))
-
-; CHECK: <stdin>:[[@LINE+1]]:31: error: value for 'language' too large, limit is 65535
-!1 = !DICompileUnit(language: 65536,
-                    file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-mdcompileunit-missing-language.ll b/test/Assembler/invalid-mdcompileunit-missing-language.ll
deleted file mode 100644 (file)
index 15631b7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:65: error: missing required field 'language'
-!0 = !DICompileUnit(file: !DIFile(filename: "a", directory: "b"))
diff --git a/test/Assembler/invalid-mdcompileunit-null-file.ll b/test/Assembler/invalid-mdcompileunit-null-file.ll
deleted file mode 100644 (file)
index cc1892e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:27: error: 'file' cannot be null
-!0 = !DICompileUnit(file: null)
diff --git a/test/Assembler/invalid-mdcompositetype-missing-tag.ll b/test/Assembler/invalid-mdcompositetype-missing-tag.ll
deleted file mode 100644 (file)
index e68c014..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:36: error: missing required field 'tag'
-!25 = !DICompositeType(name: "Type")
diff --git a/test/Assembler/invalid-mdderivedtype-missing-basetype.ll b/test/Assembler/invalid-mdderivedtype-missing-basetype.ll
deleted file mode 100644 (file)
index 308c2ea..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:45: error: missing required field 'baseType'
-!0 = !DIDerivedType(tag: DW_TAG_pointer_type)
diff --git a/test/Assembler/invalid-mdderivedtype-missing-tag.ll b/test/Assembler/invalid-mdderivedtype-missing-tag.ll
deleted file mode 100644 (file)
index fd286f4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:34: error: missing required field 'tag'
-!0 = !DIDerivedType(baseType: !{})
diff --git a/test/Assembler/invalid-mdenumerator-missing-name.ll b/test/Assembler/invalid-mdenumerator-missing-name.ll
deleted file mode 100644 (file)
index 656d343..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:28: error: missing required field 'name'
-!0 = !DIEnumerator(value: 7)
diff --git a/test/Assembler/invalid-mdenumerator-missing-value.ll b/test/Assembler/invalid-mdenumerator-missing-value.ll
deleted file mode 100644 (file)
index 0eee3be..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:32: error: missing required field 'value'
-!0 = !DIEnumerator(name: "name")
diff --git a/test/Assembler/invalid-mdexpression-large.ll b/test/Assembler/invalid-mdexpression-large.ll
deleted file mode 100644 (file)
index 32b77ee..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK-NOT: error:
-!0 = !DIExpression(18446744073709551615)
-
-; CHECK: <stdin>:[[@LINE+1]]:20: error: element too large, limit is 18446744073709551615
-!1 = !DIExpression(18446744073709551616)
diff --git a/test/Assembler/invalid-mdexpression-verify.ll b/test/Assembler/invalid-mdexpression-verify.ll
deleted file mode 100644 (file)
index 50d6943..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck -check-prefix VERIFY %s
-; RUN: llvm-as -disable-verify < %s | llvm-dis | FileCheck -check-prefix NOVERIFY %s
-
-; NOVERIFY: !named = !{!0}
-!named = !{!0}
-
-; NOVERIFY: !0 = !DIExpression(0, 1, 9, 7, 2)
-; VERIFY: assembly parsed, but does not verify
-!0 = !DIExpression(0, 1, 9, 7, 2)
diff --git a/test/Assembler/invalid-mdfile-missing-directory.ll b/test/Assembler/invalid-mdfile-missing-directory.ll
deleted file mode 100644 (file)
index a54a22f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:30: error: missing required field 'directory'
-!0 = !DIFile(filename: "file")
diff --git a/test/Assembler/invalid-mdfile-missing-filename.ll b/test/Assembler/invalid-mdfile-missing-filename.ll
deleted file mode 100644 (file)
index 17bf3da..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:30: error: missing required field 'filename'
-!0 = !DIFile(directory: "dir")
diff --git a/test/Assembler/invalid-mdglobalvariable-empty-name.ll b/test/Assembler/invalid-mdglobalvariable-empty-name.ll
deleted file mode 100644 (file)
index a4e69f3..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:30: error: 'name' cannot be empty
-!0 = !DIGlobalVariable(name: "")
diff --git a/test/Assembler/invalid-mdglobalvariable-missing-name.ll b/test/Assembler/invalid-mdglobalvariable-missing-name.ll
deleted file mode 100644 (file)
index baf4d73..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:24: error: missing required field 'name'
-!0 = !DIGlobalVariable()
diff --git a/test/Assembler/invalid-mdimportedentity-missing-scope.ll b/test/Assembler/invalid-mdimportedentity-missing-scope.ll
deleted file mode 100644 (file)
index 06164e8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:51: error: missing required field 'scope'
-!3 = !DIImportedEntity(tag: DW_TAG_imported_module)
diff --git a/test/Assembler/invalid-mdimportedentity-missing-tag.ll b/test/Assembler/invalid-mdimportedentity-missing-tag.ll
deleted file mode 100644 (file)
index 996b1ff..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:33: error: missing required field 'tag'
-!3 = !DIImportedEntity(scope: !0)
diff --git a/test/Assembler/invalid-mdlexicalblock-missing-scope.ll b/test/Assembler/invalid-mdlexicalblock-missing-scope.ll
deleted file mode 100644 (file)
index 6108e69..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:29: error: missing required field 'scope'
-!0 = !DILexicalBlock(line: 7)
diff --git a/test/Assembler/invalid-mdlexicalblock-null-scope.ll b/test/Assembler/invalid-mdlexicalblock-null-scope.ll
deleted file mode 100644 (file)
index 7457b60..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:29: error: 'scope' cannot be null
-!0 = !DILexicalBlock(scope: null)
diff --git a/test/Assembler/invalid-mdlexicalblockfile-missing-discriminator.ll b/test/Assembler/invalid-mdlexicalblockfile-missing-discriminator.ll
deleted file mode 100644 (file)
index bd8395c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:36: error: missing required field 'discriminator'
-!0 = !DILexicalBlockFile(scope: !{})
diff --git a/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll b/test/Assembler/invalid-mdlexicalblockfile-missing-scope.ll
deleted file mode 100644 (file)
index fd03750..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:42: error: missing required field 'scope'
-!0 = !DILexicalBlockFile(discriminator: 0)
diff --git a/test/Assembler/invalid-mdlexicalblockfile-null-scope.ll b/test/Assembler/invalid-mdlexicalblockfile-null-scope.ll
deleted file mode 100644 (file)
index ae1a5d4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:33: error: 'scope' cannot be null
-!0 = !DILexicalBlockFile(scope: null)
diff --git a/test/Assembler/invalid-mdlocalvariable-missing-scope.ll b/test/Assembler/invalid-mdlocalvariable-missing-scope.ll
deleted file mode 100644 (file)
index 45dcad7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:48: error: missing required field 'scope'
-!0 = !DILocalVariable(tag: DW_TAG_auto_variable)
diff --git a/test/Assembler/invalid-mdlocalvariable-missing-tag.ll b/test/Assembler/invalid-mdlocalvariable-missing-tag.ll
deleted file mode 100644 (file)
index 18062ed..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:45: error: missing required field 'tag'
-!0 = !DILocalVariable(scope: !DISubprogram())
diff --git a/test/Assembler/invalid-mdlocalvariable-null-scope.ll b/test/Assembler/invalid-mdlocalvariable-null-scope.ll
deleted file mode 100644 (file)
index 859412a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:30: error: 'scope' cannot be null
-!0 = !DILocalVariable(scope: null)
diff --git a/test/Assembler/invalid-mdlocation-field-bad.ll b/test/Assembler/invalid-mdlocation-field-bad.ll
deleted file mode 100644 (file)
index e68aa45..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:18: error: invalid field 'bad'
-!0 = !DILocation(bad: 0)
diff --git a/test/Assembler/invalid-mdlocation-field-twice.ll b/test/Assembler/invalid-mdlocation-field-twice.ll
deleted file mode 100644 (file)
index d1dab68..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-!0 = !{}
-
-; CHECK: <stdin>:[[@LINE+1]]:38: error: field 'line' cannot be specified more than once
-!1 = !DILocation(line: 3, scope: !0, line: 3)
diff --git a/test/Assembler/invalid-mdlocation-missing-scope-2.ll b/test/Assembler/invalid-mdlocation-missing-scope-2.ll
deleted file mode 100644 (file)
index 380e3fd..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:25: error: missing required field 'scope'
-!0 = !DILocation(line: 7)
diff --git a/test/Assembler/invalid-mdlocation-missing-scope.ll b/test/Assembler/invalid-mdlocation-missing-scope.ll
deleted file mode 100644 (file)
index fb0cd86..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:18: error: missing required field 'scope'
-!0 = !DILocation()
diff --git a/test/Assembler/invalid-mdlocation-null-scope.ll b/test/Assembler/invalid-mdlocation-null-scope.ll
deleted file mode 100644 (file)
index 38c59e1..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: <stdin>:[[@LINE+1]]:25: error: 'scope' cannot be null
-!0 = !DILocation(scope: null)
diff --git a/test/Assembler/invalid-mdlocation-overflow-column.ll b/test/Assembler/invalid-mdlocation-overflow-column.ll
deleted file mode 100644 (file)
index 043f84d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-!0 = !{}
-
-; CHECK-NOT: error:
-!1 = !DILocation(column: 65535, scope: !0)
-
-; CHECK: <stdin>:[[@LINE+1]]:26: error: value for 'column' too large, limit is 65535
-!2 = !DILocation(column: 65536, scope: !0)
diff --git a/test/Assembler/invalid-mdlocation-overflow-line.ll b/test/Assembler/invalid-mdlocation-overflow-line.ll
deleted file mode 100644 (file)
index 7a67742..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-!0 = !{}
-
-; CHECK-NOT: error:
-!1 = !DILocation(line: 4294967295, scope: !0)
-
-; CHECK: <stdin>:[[@LINE+1]]:24: error: value for 'line' too large, limit is 4294967295
-!2 = !DILocation(line: 4294967296, scope: !0)
diff --git a/test/Assembler/invalid-mdnamespace-missing-namespace.ll b/test/Assembler/invalid-mdnamespace-missing-namespace.ll
deleted file mode 100644 (file)
index c29391b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:36: error: missing required field 'scope'
-!0 = !DINamespace(name: "Namespace")
diff --git a/test/Assembler/invalid-mdsubrange-count-large.ll b/test/Assembler/invalid-mdsubrange-count-large.ll
deleted file mode 100644 (file)
index 003274f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK-NOT: error:
-!0 = !DISubrange(count: 9223372036854775807)
-
-; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too large, limit is 9223372036854775807
-!1 = !DISubrange(count: 9223372036854775808)
diff --git a/test/Assembler/invalid-mdsubrange-count-missing.ll b/test/Assembler/invalid-mdsubrange-count-missing.ll
deleted file mode 100644 (file)
index 8fc4487..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:32: error: missing required field 'count'
-!0 = !DISubrange(lowerBound: -3)
diff --git a/test/Assembler/invalid-mdsubrange-count-negative.ll b/test/Assembler/invalid-mdsubrange-count-negative.ll
deleted file mode 100644 (file)
index f2ad4c3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK-NOT: error:
-!0 = !DISubrange(count: -1)
-
-; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too small, limit is -1
-!0 = !DISubrange(count: -2)
diff --git a/test/Assembler/invalid-mdsubrange-lowerBound-max.ll b/test/Assembler/invalid-mdsubrange-lowerBound-max.ll
deleted file mode 100644 (file)
index e163dc4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too large, limit is 9223372036854775807
-!0 = !DISubrange(count: 30, lowerBound: 9223372036854775808)
diff --git a/test/Assembler/invalid-mdsubrange-lowerBound-min.ll b/test/Assembler/invalid-mdsubrange-lowerBound-min.ll
deleted file mode 100644 (file)
index 1dc3a14..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:41: error: value for 'lowerBound' too small, limit is -9223372036854775808
-!0 = !DISubrange(count: 30, lowerBound: -9223372036854775809)
diff --git a/test/Assembler/invalid-mdsubroutinetype-missing-types.ll b/test/Assembler/invalid-mdsubroutinetype-missing-types.ll
deleted file mode 100644 (file)
index 086e5cc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:65: error: missing required field 'types'
-!29 = !DISubroutineType(flags: DIFlagPublic | DIFlagStaticMember)
diff --git a/test/Assembler/invalid-mdtemplatetypeparameter-missing-type.ll b/test/Assembler/invalid-mdtemplatetypeparameter-missing-type.ll
deleted file mode 100644 (file)
index 797abd2..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+1]]:44: error: missing required field 'type'
-!0 = !DITemplateTypeParameter(name: "param")
diff --git a/test/Assembler/invalid-mdtemplatevalueparameter-missing-value.ll b/test/Assembler/invalid-mdtemplatevalueparameter-missing-value.ll
deleted file mode 100644 (file)
index 883bea1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-; CHECK: [[@LINE+2]]:41: error: missing required field 'value'
-!0 = !DITemplateValueParameter(tag: DW_TAG_template_value_parameter,
-                               type: !{})
diff --git a/test/Assembler/mdcompileunit.ll b/test/Assembler/mdcompileunit.ll
deleted file mode 100644 (file)
index dc136f0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !7, !8, !8}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10}
-
-!0 = distinct !{}
-!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!2 = distinct !{}
-!3 = distinct !{}
-!4 = distinct !{}
-!5 = distinct !{}
-!6 = distinct !{}
-
-; CHECK: !7 = !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: 3, enums: !2, retainedTypes: !3, subprograms: !4, globals: !5, imports: !6, dwoId: 42)
-!7 = !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
-                    isOptimized: true, flags: "-O2", runtimeVersion: 2,
-                    splitDebugFilename: "abc.debug", emissionKind: 3,
-                    enums: !2, retainedTypes: !3, subprograms: !4,
-                    globals: !5, imports: !6, dwoId: 42)
-!8 = !DICompileUnit(language: 12, file: !1, producer: "clang",
-                    isOptimized: true, flags: "-O2", runtimeVersion: 2,
-                    splitDebugFilename: "abc.debug", emissionKind: 3,
-                    enums: !2, retainedTypes: !3, subprograms: !4,
-                    globals: !5, imports: !6, dwoId: 42)
-
-; CHECK: !8 = !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: 0)
-!9 = !DICompileUnit(language: 12, file: !1, producer: "",
-                    isOptimized: false, flags: "", runtimeVersion: 0,
-                    splitDebugFilename: "", emissionKind: 0)
-!10 = !DICompileUnit(language: 12, file: !1)
diff --git a/test/Assembler/mdexpression.ll b/test/Assembler/mdexpression.ll
deleted file mode 100644 (file)
index 31be86c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4}
-!named = !{!0, !1, !2, !3, !4}
-
-; CHECK:      !0 = !DIExpression()
-; CHECK-NEXT: !1 = !DIExpression(DW_OP_deref)
-; CHECK-NEXT: !2 = !DIExpression(DW_OP_plus, 3)
-; CHECK-NEXT: !3 = !DIExpression(DW_OP_bit_piece, 3, 7)
-; CHECK-NEXT: !4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)
-!0 = !DIExpression()
-!1 = !DIExpression(DW_OP_deref)
-!2 = !DIExpression(DW_OP_plus, 3)
-!3 = !DIExpression(DW_OP_bit_piece, 3, 7)
-!4 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)
diff --git a/test/Assembler/mdfile-escaped-chars.ll b/test/Assembler/mdfile-escaped-chars.ll
deleted file mode 100644 (file)
index 5900fdc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; Spot-check that metadata string fields are correctly escaped.
-
-!named = !{!0}
-
-; CHECK: !0 = !DIFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")
-!0 = !DIFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")
diff --git a/test/Assembler/mdglobalvariable.ll b/test/Assembler/mdglobalvariable.ll
deleted file mode 100644 (file)
index 0d027d3..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-@foo = global i32 0
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
-
-!0 = !DIFile(filename: "scope.h", directory: "/path/to/dir")
-!1 = distinct !{}
-!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-!4 = distinct !{}
-
-; CHECK: !5 = !DIGlobalVariable(name: "foo", linkageName: "foo", scope: !0, file: !2, line: 7, type: !3, isLocal: true, isDefinition: false, variable: i32* @foo)
-!5 = !DIGlobalVariable(name: "foo", linkageName: "foo", scope: !0,
-                       file: !2, line: 7, type: !3, isLocal: true,
-                       isDefinition: false, variable: i32* @foo)
-
-; CHECK: !6 = !DIGlobalVariable(name: "foo", scope: !0, isLocal: false, isDefinition: true)
-!6 = !DIGlobalVariable(name: "foo", scope: !0)
-
-!7 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 8, align: 8)
-!8 = !DIDerivedType(tag: DW_TAG_member, name: "mem", flags: DIFlagStaticMember, scope: !7, baseType: !3)
-
-; CHECK: !9 = !DIGlobalVariable(name: "mem", scope: !0, isLocal: false, isDefinition: true, declaration: !8)
-!9 = !DIGlobalVariable(name: "mem", scope: !0, declaration: !8)
diff --git a/test/Assembler/mdimportedentity.ll b/test/Assembler/mdimportedentity.ll
deleted file mode 100644 (file)
index 929267e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !3}
-!named = !{!0, !1, !2, !3, !4}
-
-; CHECK:      !0 = !DISubprogram({{.*}})
-; CHECK-NEXT: !1 = !DICompositeType({{.*}})
-!0 = !DISubprogram(name: "foo")
-!1 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32)
-
-; CHECK-NEXT: !2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, line: 7)
-!2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0,
-                       entity: !1, line: 7)
-
-; CHECK-NEXT: !3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
-!3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
-!4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "", scope: !0, entity: null,
-                       line: 0)
-
diff --git a/test/Assembler/mdlexicalblock.ll b/test/Assembler/mdlexicalblock.ll
deleted file mode 100644 (file)
index 2cab372..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !4, !5, !6, !7, !7}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
-
-!0 = distinct !{}
-!1 = !DISubprogram(name: "foo", scope: !2)
-!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-
-; CHECK: !3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
-!3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
-
-; CHECK: !4 = !DILexicalBlock(scope: !1)
-!4 = !DILexicalBlock(scope: !1)
-!5 = !DILexicalBlock(scope: !1, file: null, line: 0, column: 0)
-
-; CHECK: !5 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
-; CHECK: !6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
-!6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
-!7 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
-
-; CHECK: !7 = !DILexicalBlockFile(scope: !3, discriminator: 7)
-!8 = !DILexicalBlockFile(scope: !3, discriminator: 7)
-!9 = !DILexicalBlockFile(scope: !3, file: null, discriminator: 7)
diff --git a/test/Assembler/mdlocalvariable.ll b/test/Assembler/mdlocalvariable.ll
deleted file mode 100644 (file)
index 312373c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-@foo = global i32 0
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
-
-!0 = distinct !DISubprogram()
-!1 = distinct !{}
-!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!3 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-!4 = !DILocation(scope: !0)
-
-; CHECK: !5 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 3, scope: !0, file: !2, line: 7, type: !3, flags: DIFlagArtificial)
-; CHECK: !6 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "foo", scope: !0, file: !2, line: 7, type: !3, flags: DIFlagArtificial)
-!5 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 3,
-                      scope: !0, file: !2, line: 7, type: !3,
-                      flags: DIFlagArtificial)
-!6 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "foo", scope: !0,
-                      file: !2, line: 7, type: !3, flags: DIFlagArtificial)
-
-; CHECK: !7 = !DILocalVariable(tag: DW_TAG_arg_variable, arg: 0, scope: !0)
-; CHECK: !8 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !0)
-!7 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !0)
-!8 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !0)
diff --git a/test/Assembler/mdlocation.ll b/test/Assembler/mdlocation.ll
deleted file mode 100644 (file)
index a468f8a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !1, !2, !2, !3, !3, !4}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7}
-
-; CHECK: !0 = !DISubprogram(
-!0 = !DISubprogram()
-
-; CHECK-NEXT: !1 = !DILocation(line: 3, column: 7, scope: !0)
-!1 = !DILocation(line: 3, column: 7, scope: !0)
-!2 = !DILocation(scope: !0, column: 7, line: 3)
-
-; CHECK-NEXT: !2 = !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !1)
-!3 = !DILocation(scope: !0, inlinedAt: !1, column: 7, line: 3)
-!4 = !DILocation(column: 7, line: 3, scope: !0, inlinedAt: !1)
-
-; CHECK-NEXT: !3 = !DILocation(line: 0, scope: !0)
-!5 = !DILocation(scope: !0)
-!6 = !DILocation(scope: !0, column: 0, line: 0)
-
-; CHECK-NEXT: !4 = !DILocation(line: 4294967295, column: 65535, scope: !0)
-!7 = !DILocation(line: 4294967295, column: 65535, scope: !0)
diff --git a/test/Assembler/mdnamespace.ll b/test/Assembler/mdnamespace.ll
deleted file mode 100644 (file)
index 5d8b6b3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
-!named = !{!0, !1, !2, !3, !4, !5}
-
-!0 = !DIFile(filename: "file.cpp", directory: "/path/to/dir")
-!1 = distinct !{}
-!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-
-; CHECK: !3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
-!3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
-
-; CHECK: !4 = !DINamespace(scope: !0)
-!4 = !DINamespace(name: "", scope: !0, file: null, line: 0)
-!5 = !DINamespace(scope: !0)
diff --git a/test/Assembler/mdobjcproperty.ll b/test/Assembler/mdobjcproperty.ll
deleted file mode 100644 (file)
index ca13e27..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
-!named = !{!0, !1, !2, !3, !4, !5}
-
-!0 = distinct !{}
-!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!2 = !DICompositeType(tag: DW_TAG_structure_type, name: "Object")
-
-; CHECK: !2 = !DICompositeType({{.*}})
-; CHECK-NEXT: !3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, type: !2)
-!3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo",
-                     getter: "getFoo", attributes: 7, type: !2)
-
-; CHECK-NEXT: !4 = !DIObjCProperty()
-!4 = !DIObjCProperty(name: "", file: null, line: 0, setter: "", getter: "",
-                     attributes: 0, type: null)
-!5 = !DIObjCProperty()
diff --git a/test/Assembler/mdsubprogram.ll b/test/Assembler/mdsubprogram.ll
deleted file mode 100644 (file)
index 3fa1081..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-declare void @_Z3foov()
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
-
-!0 = !{null}
-!1 = distinct !DICompositeType(tag: DW_TAG_structure_type)
-!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!3 = !DISubroutineType(types: !0)
-!4 = distinct !DICompositeType(tag: DW_TAG_structure_type)
-!5 = distinct !{}
-!6 = distinct !DISubprogram(isDefinition: false)
-!7 = distinct !{}
-
-; CHECK: !8 = !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1, file: !2, line: 7, type: !3, isLocal: true, isDefinition: false, scopeLine: 8, containingType: !4, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 10, flags: DIFlagPrototyped, isOptimized: true, function: void ()* @_Z3foov, templateParams: !5, declaration: !6, variables: !7)
-!8 = !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,
-                   file: !2, line: 7, type: !3, isLocal: true,
-                   isDefinition: false, scopeLine: 8, containingType: !4,
-                   virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 10,
-                   flags: DIFlagPrototyped, isOptimized: true, function: void ()* @_Z3foov,
-                   templateParams: !5, declaration: !6, variables: !7)
-
-; CHECK: !9 = !DISubprogram(scope: null, isLocal: false, isDefinition: true, isOptimized: false)
-!9 = !DISubprogram()
-
diff --git a/test/Assembler/mdsubrange-empty-array.ll b/test/Assembler/mdsubrange-empty-array.ll
deleted file mode 100644 (file)
index 7b5279e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !0, !1, !2}
-!named = !{!0, !1, !2, !3}
-
-; CHECK:      !0 = !DISubrange(count: -1)
-; CHECK-NEXT: !1 = !DISubrange(count: -1, lowerBound: 4)
-; CHECK-NEXT: !2 = !DISubrange(count: -1, lowerBound: -5)
-!0 = !DISubrange(count: -1)
-!1 = !DISubrange(count: -1, lowerBound: 0)
-
-!2 = !DISubrange(count: -1, lowerBound: 4)
-!3 = !DISubrange(count: -1, lowerBound: -5)
diff --git a/test/Assembler/mdsubroutinetype.ll b/test/Assembler/mdsubroutinetype.ll
deleted file mode 100644 (file)
index 4ec2be7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
-
-!0 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-!1 = !{null}
-!2 = !{null, !0}
-!3 = !{!0, !0, !0}
-
-
-; CHECK: !4 = !DISubroutineType(types: !1)
-; CHECK: !5 = !DISubroutineType(types: !2)
-; CHECK: !6 = !DISubroutineType(types: !3)
-; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
-!4 = !DISubroutineType(types: !1)
-!5 = !DISubroutineType(types: !2)
-!6 = !DISubroutineType(types: !3)
-!7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
-
-; CHECK: !8 = !DISubroutineType(types: null)
-!8 = !DISubroutineType(types: null)
diff --git a/test/Assembler/mdtemplateparameter.ll b/test/Assembler/mdtemplateparameter.ll
deleted file mode 100644 (file)
index a356ad4..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2, !3, !3, !4, !5, !5, !6}
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
-
-!0 = distinct !{}
-!1 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-; CHECK: !1 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
-
-; CHECK-NEXT: !2 = !DITemplateTypeParameter(name: "Ty", type: !1)
-; CHECK-NEXT: !3 = !DITemplateTypeParameter(type: !1)
-!2 = !DITemplateTypeParameter(name: "Ty", type: !1)
-!3 = !DITemplateTypeParameter(type: !1)
-!4 = !DITemplateTypeParameter(name: "", type: !1)
-
-; CHECK-NEXT: !4 = !DITemplateValueParameter(name: "V", type: !1, value: i32 7)
-; CHECK-NEXT: !5 = !DITemplateValueParameter(type: !1, value: i32 7)
-; CHECK-NEXT: !6 = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "param", type: !1, value: !"template")
-!5 = !DITemplateValueParameter(name: "V", type: !1, value: i32 7)
-!6 = !DITemplateValueParameter(type: !1, value: i32 7)
-!7 = !DITemplateValueParameter(tag: DW_TAG_template_value_parameter,
-                               name: "", type: !1, value: i32 7)
-!8 = !DITemplateValueParameter(tag: DW_TAG_GNU_template_template_param, name: "param", type: !1, value: !"template")
diff --git a/test/Assembler/mdtype-large-values.ll b/test/Assembler/mdtype-large-values.ll
deleted file mode 100644 (file)
index a371ac6..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
-; RUN: verify-uselistorder %s
-
-; CHECK: !named = !{!0, !1, !2}
-!named = !{!0, !1, !2}
-
-; CHECK:      !0 = !DIBasicType(name: "name", size: 18446744073709551615, align: 18446744073709551614, encoding: DW_ATE_unsigned_char)
-; CHECK-NEXT: !1 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
-; CHECK-NEXT: !2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
-!0 = !DIBasicType(tag: DW_TAG_base_type, name: "name", size: 18446744073709551615, align: 18446744073709551614, encoding: DW_ATE_unsigned_char)
-!1 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)
-!2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 18446744073709551615, align: 18446744073709551614, offset: 18446744073709551613)