1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s 2; RUN: verify-uselistorder %s 3 4; CHECK: !named = !{!0, !3, !4, !5, !5} 5!named = !{!0, !3, !4, !5, !6} 6 7!llvm.module.flags = !{!7} 8!llvm.dbg.cu = !{!1} 9 10; CHECK: !0 = distinct !DISubprogram({{.*}}) 11!0 = distinct !DISubprogram(name: "foo", isDefinition: true, unit: !1) 12 13!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", 14 file: !2, 15 isOptimized: true, flags: "-O2", 16 splitDebugFilename: "abc.debug", emissionKind: 2) 17!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir") 18; CHECK: !3 = !DICompositeType({{.*}}) 19!3 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32) 20 21; CHECK-NEXT: !4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, file: !2, line: 7) 22!4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, 23 entity: !1, file: !2, line: 7) 24 25; CHECK-NEXT: !5 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0) 26!5 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0) 27!6 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "", scope: !0, entity: null, 28 line: 0) 29!7 = !{i32 2, !"Debug Info Version", i32 3} 30