blob: b177be59024618b3011ce33ae678a65048a8fae9 [file] [log] [blame]
Duncan P. N. Exon Smith6a484832015-01-13 21:10:44 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
Duncan P. N. Exon Smith2f5bb312015-01-16 17:33:08 +00004; CHECK: !named = !{!0, !1, !1, !2, !2, !3, !3, !4}
5!named = !{!0, !1, !2, !3, !4, !5, !6, !7}
Duncan P. N. Exon Smith6a484832015-01-13 21:10:44 +00006
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +00007; CHECK: !0 = distinct !DISubprogram(
8!0 = distinct !DISubprogram()
Duncan P. N. Exon Smith6a484832015-01-13 21:10:44 +00009
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000010; CHECK-NEXT: !1 = !DILocation(line: 3, column: 7, scope: !0)
11!1 = !DILocation(line: 3, column: 7, scope: !0)
12!2 = !DILocation(scope: !0, column: 7, line: 3)
Duncan P. N. Exon Smith6a484832015-01-13 21:10:44 +000013
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000014; CHECK-NEXT: !2 = !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !1)
15!3 = !DILocation(scope: !0, inlinedAt: !1, column: 7, line: 3)
16!4 = !DILocation(column: 7, line: 3, scope: !0, inlinedAt: !1)
Duncan P. N. Exon Smith6a484832015-01-13 21:10:44 +000017
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000018; CHECK-NEXT: !3 = !DILocation(line: 0, scope: !0)
19!5 = !DILocation(scope: !0)
20!6 = !DILocation(scope: !0, column: 0, line: 0)
Duncan P. N. Exon Smith2f5bb312015-01-16 17:33:08 +000021
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000022; CHECK-NEXT: !4 = !DILocation(line: 4294967295, column: 65535, scope: !0)
23!7 = !DILocation(line: 4294967295, column: 65535, scope: !0)