59 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \2# RUN: llvm-dwarfdump -debug-info - 2>&1 | FileCheck %s3 4# CHECK: warning: DWARF package unit at offset 0x00000000 has a non-zero abbreviation offset5 6 .section .debug_abbrev.dwo, "e", @progbits7.LAbbrBegin:8 .uleb128 1 # Abbreviation Code9 .uleb128 17 # DW_TAG_compile_unit10 .byte 0 # DW_CHILDREN_no11 .uleb128 3 # DW_AT_name12 .uleb128 8 # DW_FORM_string13 .uleb128 0x2131 # DW_AT_GNU_dwo_id14 .uleb128 7 # DW_FORM_data815 .byte 0 # EOM(1)16 .byte 0 # EOM(2)17 .byte 0 # EOM(3)18.LAbbrEnd:19 20 .section .debug_info.dwo, "e", @progbits21.LCUBegin:22 .long .LCUEnd-.LCUVersion # Length23.LCUVersion:24 .short 4 # Version25 .long 1 # Abbrev offset (Invalid, should be 0)26 .byte 4 # Address size27 .uleb128 1 # Abbrev [1] DW_TAG_compile_unit28 .asciz "a.c" # DW_AT_name29 .quad 0x1100001122222222 # DW_AT_GNU_dwo_id30.LCUEnd:31 32 .section .debug_cu_index, "", @progbits33## Header:34 .short 2 # Version35 .space 2 # Padding36 .long 2 # Section count37 .long 1 # Unit count38 .long 4 # Slot count39## Hash Table of Signatures:40 .quad 041 .quad 042 .quad 0x110000112222222243 .quad 044## Parallel Table of Indexes:45 .long 046 .long 047 .long 148 .long 049## Table of Section Offsets:50## Row 0:51 .long 1 # DW_SECT_INFO52 .long 3 # DW_SECT_ABBREV53## Row 1:54 .long .LCUBegin-.debug_info.dwo # Offset in .debug_info.dwo55 .long .LAbbrBegin-.debug_abbrev.dwo # Offset in .debug_abbrev.dwo56## Table of Section Sizes:57 .long .LCUEnd-.LCUBegin58 .long .LAbbrEnd-.LAbbrBegin59