Eric Christopher | 7924e0c | 2014-03-12 17:14:43 +0000 | [diff] [blame] | 1 | ; RUN: llc -split-dwarf=Enable -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t |
Eric Christopher | d29614f | 2013-08-13 01:21:55 +0000 | [diff] [blame] | 2 | ; RUN: llvm-dwarfdump -debug-dump=all %t | FileCheck %s |
| 3 | |
| 4 | ; The source is an empty file. |
| 5 | |
David Blaikie | 63bb3e1 | 2013-10-21 16:37:22 +0000 | [diff] [blame] | 6 | ; CHECK: DW_AT_GNU_dwo_id [DW_FORM_data8] (0x0c1e629c9e5ada4f) |
| 7 | ; CHECK: DW_AT_GNU_dwo_id [DW_FORM_data8] (0x0c1e629c9e5ada4f) |
Eric Christopher | d29614f | 2013-08-13 01:21:55 +0000 | [diff] [blame] | 8 | |
| 9 | !llvm.dbg.cu = !{!0} |
Manman Ren | 409558f | 2013-11-22 21:49:45 +0000 | [diff] [blame] | 10 | !llvm.module.flags = !{!3, !4} |
Eric Christopher | d29614f | 2013-08-13 01:21:55 +0000 | [diff] [blame] | 11 | |
Adrian Prantl | 75819ae | 2016-04-15 15:57:41 +0000 | [diff] [blame] | 12 | !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4 (trunk 188230) (llvm/trunk 188234)", isOptimized: false, splitDebugFilename: "foo.dwo", emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !2, imports: !2) |
Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 13 | !1 = !DIFile(filename: "foo.c", directory: "/usr/local/google/home/echristo/tmp") |
Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 14 | !2 = !{} |
| 15 | !3 = !{i32 2, !"Dwarf Version", i32 3} |
Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 16 | !4 = !{i32 1, !"Debug Info Version", i32 3} |