Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwp / X86 / incompatible_cu_index_versions.s
blobb0459689ab3dd71e2dcf54b770f1d413f807ed57
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
16 ## Header:
17 .short 2 # Version
18 .space 2 # Padding
19 .long 2 # Section count
20 .long 1 # Unit count
21 .long 2 # Slot count
22 ## Hash Table of Signatures:
23 .quad 0x1100001122222222
24 .quad 0
25 ## Parallel Table of Indexes:
26 .long 1
27 .long 0
28 ## Table of Section Offsets:
29 ## Row 0:
30 .long 1 # DW_SECT_INFO
31 .long 3 # DW_SECT_ABBREV
32 ## Row 1:
33 .long 0
34 .long 0
35 ## Table of Section Sizes:
36 .long 1
37 .long 1