dwarfdump: Added macro support to llvm-dwarfdump tool.
[oota-llvm.git] / test / DebugInfo / dwo.ll
1 ; RUN: %llc_dwarf %s -filetype=obj -o %t
2 ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
3 ; CHECK: DW_TAG_compile_unit
4 ; CHECK: DW_AT_GNU_dwo_id {{.*}}abcd
5 ; CHECK-NOT: DW_AT_GNU_dwo_name
6 ; REQUIRES: default_triple
7
8 !llvm.dbg.cu = !{!0}
9 !llvm.module.flags = !{!3, !4}
10
11 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: false, runtimeVersion: 2, emissionKind: 1, enums: !2, retainedTypes: !2, subprograms: !2, globals: !2, imports: !2, dwoId: 43981)
12 !1 = !DIFile(filename: "<stdin>", directory: "/")
13 !2 = !{}
14 !3 = !{i32 2, !"Dwarf Version", i32 4}
15 !4 = !{i32 2, !"Debug Info Version", i32 3}