38 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.dwp2# RUN: not llvm-dwp %t.dwp -o %t 2>&1 | FileCheck %s3 4# CHECK: error: incompatible cu_index versions, found 2 and expecting 55 .section .debug_info.dwo, "e", @progbits6 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit7.Ldebug_info_dwo_start0:8 .short 5 # DWARF version number9 .byte 5 # DWARF Unit type (DW_UT_split_compile)10 .byte 8 # Address Size (in bytes)11 .long 0 # Offset Into Abbrev. Section12 .quad -34697212599100551813 .byte 0 # Abbrev [9] 0xb:0x37 DW_TAG_compile_unit14.Ldebug_info_dwo_end0:15 .section .debug_cu_index, "", @progbits16## Header:17 .short 2 # Version18 .space 2 # Padding19 .long 2 # Section count20 .long 1 # Unit count21 .long 2 # Slot count22## Hash Table of Signatures:23 .quad 0x110000112222222224 .quad 025## Parallel Table of Indexes:26 .long 127 .long 028## Table of Section Offsets:29## Row 0:30 .long 1 # DW_SECT_INFO31 .long 3 # DW_SECT_ABBREV32## Row 1:33 .long 034 .long 035## Table of Section Sizes:36 .long 137 .long 138