• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; 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, !4, !4, !5, !6, !7, !7}
5!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
6
7!0 = distinct !{}
8!1 = distinct !DISubprogram(name: "foo", scope: !2)
9!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
10
11; CHECK: !3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
12!3 = !DILexicalBlock(scope: !1, file: !2, line: 7, column: 35)
13
14; CHECK: !4 = !DILexicalBlock(scope: !1)
15!4 = !DILexicalBlock(scope: !1)
16!5 = !DILexicalBlock(scope: !1, file: null, line: 0, column: 0)
17
18; CHECK: !5 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
19; CHECK: !6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
20!6 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 0)
21!7 = !DILexicalBlockFile(scope: !3, file: !2, discriminator: 1)
22
23; CHECK: !7 = !DILexicalBlockFile(scope: !3, discriminator: 7)
24!8 = !DILexicalBlockFile(scope: !3, discriminator: 7)
25!9 = !DILexicalBlockFile(scope: !3, file: null, discriminator: 7)
26