Duncan P. N. Exon Smith | c1f1acc | 2015-02-13 01:25:10 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s |
| 2 | ; RUN: verify-uselistorder %s |
| 3 | |
Amjad Aboud | a9bcf16 | 2015-12-10 12:56:35 +0000 | [diff] [blame] | 4 | ; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9} |
| 5 | !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9} |
Duncan P. N. Exon Smith | c1f1acc | 2015-02-13 01:25:10 +0000 | [diff] [blame] | 6 | |
Duncan P. N. Exon Smith | a5c57cc | 2015-02-20 20:35:17 +0000 | [diff] [blame] | 7 | !0 = distinct !{} |
Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 8 | !1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir") |
Duncan P. N. Exon Smith | c1f1acc | 2015-02-13 01:25:10 +0000 | [diff] [blame] | 9 | !2 = distinct !{} |
| 10 | !3 = distinct !{} |
| 11 | !4 = distinct !{} |
| 12 | !5 = distinct !{} |
| 13 | !6 = distinct !{} |
Amjad Aboud | a9bcf16 | 2015-12-10 12:56:35 +0000 | [diff] [blame] | 14 | !7 = distinct !{} |
Duncan P. N. Exon Smith | c1f1acc | 2015-02-13 01:25:10 +0000 | [diff] [blame] | 15 | |
Amjad Aboud | a9bcf16 | 2015-12-10 12:56:35 +0000 | [diff] [blame] | 16 | ; CHECK: !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2", runtimeVersion: 2, splitDebugFilename: "abc.debug", emissionKind: 3, enums: !2, retainedTypes: !3, subprograms: !4, globals: !5, imports: !6, macros: !7, dwoId: 42) |
| 17 | !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", |
Duncan P. N. Exon Smith | 55ca964 | 2015-08-03 17:26:41 +0000 | [diff] [blame] | 18 | isOptimized: true, flags: "-O2", runtimeVersion: 2, |
| 19 | splitDebugFilename: "abc.debug", emissionKind: 3, |
| 20 | enums: !2, retainedTypes: !3, subprograms: !4, |
Amjad Aboud | a9bcf16 | 2015-12-10 12:56:35 +0000 | [diff] [blame] | 21 | globals: !5, imports: !6, macros: !7, dwoId: 42) |
Duncan P. N. Exon Smith | c1f1acc | 2015-02-13 01:25:10 +0000 | [diff] [blame] | 22 | |
Amjad Aboud | a9bcf16 | 2015-12-10 12:56:35 +0000 | [diff] [blame] | 23 | ; CHECK: !9 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeVersion: 0, emissionKind: 0) |
| 24 | !9 = distinct !DICompileUnit(language: 12, file: !1, producer: "", |
Duncan P. N. Exon Smith | 55ca964 | 2015-08-03 17:26:41 +0000 | [diff] [blame] | 25 | isOptimized: false, flags: "", runtimeVersion: 0, |
| 26 | splitDebugFilename: "", emissionKind: 0) |