blob: 334eb20daedee60f1a720a8b97ee819e0b132699 [file] [log] [blame]
Duncan P. N. Exon Smith1c931162015-02-13 01:46:02 +00001; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4; CHECK: !named = !{!0, !1, !2, !3, !3}
5!named = !{!0, !1, !2, !3, !4}
6
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +00007; CHECK: !0 = distinct !DISubprogram({{.*}})
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +00008; CHECK-NEXT: !1 = !DICompositeType({{.*}})
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +00009!0 = distinct !DISubprogram(name: "foo")
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000010!1 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32)
Duncan P. N. Exon Smith1c931162015-02-13 01:46:02 +000011
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000012; CHECK-NEXT: !2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, line: 7)
13!2 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0,
Duncan P. N. Exon Smith16d182a2015-02-28 23:21:38 +000014 entity: !1, line: 7)
Duncan P. N. Exon Smith1c931162015-02-13 01:46:02 +000015
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000016; CHECK-NEXT: !3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
17!3 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
18!4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "", scope: !0, entity: null,
Duncan P. N. Exon Smith16d182a2015-02-28 23:21:38 +000019 line: 0)
Duncan P. N. Exon Smith1c931162015-02-13 01:46:02 +000020