1 # RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \
2 # RUN: llvm-dwarfdump -debug-info - 2>&1 | FileCheck %s
4 # CHECK: warning: DWARF package unit at offset 0x00000000 missing abbreviation column
6 .section .debug_abbrev.dwo, "e", @progbits
8 .uleb128 1 # Abbreviation Code
9 .uleb128 17 # DW_TAG_compile_unit
10 .byte 0 # DW_CHILDREN_no
11 .uleb128 3 # DW_AT_name
12 .uleb128 8 # DW_FORM_string
13 .uleb128 0x2131 # DW_AT_GNU_dwo_id
14 .uleb128 7 # DW_FORM_data8
20 .section .debug_info.dwo, "e", @progbits
22 .long .LCUEnd-.LCUVersion # Length
25 .long 0 # Abbrev offset
26 .byte 4 # Address size
27 .uleb128 1 # Abbrev [1] DW_TAG_compile_unit
28 .asciz "a.c" # DW_AT_name
29 .quad 0x1100001122222222 # DW_AT_GNU_dwo_id
32 .section .debug_cu_index, "", @progbits
36 .long 1 # Section count (Invalid, should be 2)
39 ## Hash Table of Signatures:
42 .quad 0x1100001122222222
44 ## Parallel Table of Indexes:
49 ## Table of Section Offsets:
51 .long 1 # DW_SECT_INFO
52 # .long 3 # DW_SECT_ABBREV (Intentionally omitted)
54 .long .LCUBegin-.debug_info.dwo # Offset in .debug_info.dwo
55 # .long .LAbbrBegin-.debug_abbrev.dwo # Offset in .debug_abbrev.dwo (Intentionally omitted)
56 ## Table of Section Sizes:
57 .long .LCUEnd-.LCUBegin # Size of the contribution in .debug_info.dwo
58 .long .LAbbrEnd-.LAbbrBegin # Size of the contribution in .debug_abbrev.dwo (Intentionally omitted)