Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwp / X86 / invalid_tu_header_length.s
blobcef2ea3600cb0d00e01836437a1468e18dc1a46a
1 # RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.o \
2 # RUN: -split-dwarf-file=%t.dwo -dwarf-version=5
3 # RUN: not llvm-dwp %t.dwo -o %t.dwp 2>&1 | FileCheck %s
5 # CHECK: error: type unit is missing type offset
6 .section .debug_info.dwo,"e",@progbits
7 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
8 .Ldebug_info_dwo_start0:
9 .short 5 # DWARF version number
10 .byte 6 # DWARF Unit Type (DW_UT_split_type)
11 .byte 8 # Address Size (in bytes)
12 .long 0 # Offset Into Abbrev. Section
13 .quad 5657452045627120676 # Type Signature
14 .Ldebug_info_dwo_end0: