1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \ 2# RUN: llvm-dwarfdump -debug-info - 2>&1 | FileCheck %s 3 4# CHECK: warning: DWARF package unit at offset 0x00000000 missing abbreviation column 5 6 .section .debug_abbrev.dwo, "e", @progbits 7.LAbbrBegin: 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 15 .byte 0 # EOM(1) 16 .byte 0 # EOM(2) 17 .byte 0 # EOM(3) 18.LAbbrEnd: 19 20 .section .debug_info.dwo, "e", @progbits 21.LCUBegin: 22 .long .LCUEnd-.LCUVersion # Length 23.LCUVersion: 24 .short 4 # Version 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 30.LCUEnd: 31 32 .section .debug_cu_index, "", @progbits 33## Header: 34 .short 2 # Version 35 .space 2 # Padding 36 .long 1 # Section count (Invalid, should be 2) 37 .long 1 # Unit count 38 .long 4 # Slot count 39## Hash Table of Signatures: 40 .quad 0 41 .quad 0 42 .quad 0x1100001122222222 43 .quad 0 44## Parallel Table of Indexes: 45 .long 0 46 .long 0 47 .long 1 48 .long 0 49## Table of Section Offsets: 50## Row 0: 51 .long 1 # DW_SECT_INFO 52# .long 3 # DW_SECT_ABBREV (Intentionally omitted) 53## Row 1: 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) 59