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