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