1; RUN: %llc_dwarf %s -filetype=obj -o %t
2; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
3; XFAIL: hexagon
4; CHECK: DW_TAG_compile_unit
5; CHECK: DW_AT_GNU_dwo_id {{.*}}abcd
6; CHECK: DW_AT_GNU_dwo_name {{.*}}"my.dwo"
7; REQUIRES: default_triple
8
9!llvm.dbg.cu = !{!0}
10!llvm.module.flags = !{!3, !4}
11
12!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: false, runtimeVersion: 2, splitDebugFilename: "my.dwo", emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2, imports: !2, dwoId: 43981)
13!1 = !DIFile(filename: "<stdin>", directory: "/")
14!2 = !{}
15!3 = !{i32 2, !"Dwarf Version", i32 4}
16!4 = !{i32 2, !"Debug Info Version", i32 3}
17
18