1 # RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.dwp
2 # RUN: not llvm-dwp %t.dwp -o %t 2>&1 | FileCheck %s
4 # CHECK: error: incompatible cu_index versions, found 2 and expecting 5
5 .section .debug_info.dwo, "e", @progbits
6 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
7 .Ldebug_info_dwo_start0:
8 .short 5 # DWARF version number
9 .byte 5 # DWARF Unit type (DW_UT_split_compile)
10 .byte 8 # Address Size (in bytes)
11 .long 0 # Offset Into Abbrev. Section
12 .quad -346972125991005518
13 .byte 0 # Abbrev [9] 0xb:0x37 DW_TAG_compile_unit
14 .Ldebug_info_dwo_end0:
15 .section .debug_cu_index, "", @progbits
19 .long 2 # Section count
22 ## Hash Table of Signatures:
23 .quad 0x1100001122222222
25 ## Parallel Table of Indexes:
28 ## Table of Section Offsets:
30 .long 1 # DW_SECT_INFO
31 .long 3 # DW_SECT_ABBREV
35 ## Table of Section Sizes: