Adrian Prantl | ee92d2e | 2016-12-22 00:29:00 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s |
| 2 | ; RUN: verify-uselistorder %s |
| 3 | |
| 4 | @foo = global i32 0 |
| 5 | |
| 6 | ; CHECK: !named = !{!0, !1, !2, !3, !4, !5} |
| 7 | !named = !{!0, !1, !2, !3, !4, !5} |
| 8 | |
| 9 | !llvm.dbg.cu = !{!0} |
| 10 | !llvm.module.flags = !{!6, !7} |
| 11 | |
| 12 | !0 = distinct !DICompileUnit(language: DW_LANG_C89, file: !1, macros: !2) |
| 13 | !1 = !DIFile(filename: "a.c", directory: "/") |
| 14 | !2 = !{!3} |
| 15 | ; CHECK: !3 = !DIMacroFile(file: !1, nodes: !4) |
| 16 | !3 = !DIMacroFile(line: 0, file: !1, nodes: !4) |
| 17 | !4 = !{!5} |
| 18 | ; CHECK: !5 = !DIMacro(type: DW_MACINFO_define, name: "X", value: "5") |
| 19 | !5 = !DIMacro(type: DW_MACINFO_define, line: 0, name: "X", value: "5") |
| 20 | !6 = !{i32 2, !"Dwarf Version", i32 4} |
| 21 | !7 = !{i32 2, !"Debug Info Version", i32 3} |