Duncan P. N. Exon Smith | a96d409 | 2015-02-13 01:29:28 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s |
| 2 | ; RUN: verify-uselistorder %s |
| 3 | |
Duncan P. N. Exon Smith | 06a0702 | 2015-02-13 01:30:42 +0000 | [diff] [blame^] | 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} |
Duncan P. N. Exon Smith | a96d409 | 2015-02-13 01:29:28 +0000 | [diff] [blame] | 6 | |
| 7 | !0 = distinct !{} |
| 8 | !1 = !{!"path/to/file", !"/path/to/dir"} |
| 9 | !2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir") |
| 10 | |
| 11 | ; CHECK: !3 = !MDLexicalBlock(scope: !0, file: !2, line: 7, column: 35) |
| 12 | !3 = !MDLexicalBlock(scope: !0, file: !2, line: 7, column: 35) |
| 13 | |
| 14 | ; CHECK: !4 = !MDLexicalBlock(scope: !0) |
| 15 | !4 = !MDLexicalBlock(scope: !0) |
| 16 | !5 = !MDLexicalBlock(scope: !0, file: null, line: 0, column: 0) |
Duncan P. N. Exon Smith | 06a0702 | 2015-02-13 01:30:42 +0000 | [diff] [blame^] | 17 | |
| 18 | ; CHECK: !5 = !MDLexicalBlockFile(scope: !3, file: !2, discriminator: 0) |
| 19 | ; CHECK: !6 = !MDLexicalBlockFile(scope: !3, file: !2, discriminator: 1) |
| 20 | !6 = !MDLexicalBlockFile(scope: !3, file: !2, discriminator: 0) |
| 21 | !7 = !MDLexicalBlockFile(scope: !3, file: !2, discriminator: 1) |
| 22 | |
| 23 | ; CHECK: !7 = !MDLexicalBlockFile(scope: !3, discriminator: 7) |
| 24 | !8 = !MDLexicalBlockFile(scope: !3, discriminator: 7) |
| 25 | !9 = !MDLexicalBlockFile(scope: !3, file: null, discriminator: 7) |