Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verify_invalid_strp.yaml
blobd6b8bbcec83a9cb0f32be224124e159fb88dd390
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -debug-info -verify %t.o | FileCheck %s
4 #      CHECK: Verifying non-dwo Units... 
5 # CHECK-NEXT: Verifying unit: 1 / 1 
6 # CHECK-NEXT: error: DW_FORM_strp offset 4660 is beyond .debug_str bounds:
8 --- !ELF
9 FileHeader:
10   Class: ELFCLASS64
11   Data:  ELFDATA2LSB
12   Type:  ET_EXEC
13 DWARF:
14   debug_str:
15     - ''
16   debug_abbrev:
17     - Table:
18         - Code:            0x00000001
19           Tag:             DW_TAG_compile_unit
20           Children:        DW_CHILDREN_no
21           Attributes:
22             - Attribute:       DW_AT_name
23               Form:            DW_FORM_strp
24   debug_info:
25     - Version:         4
26       AddrSize:        8
27       Entries:
28         - AbbrCode:        0x00000001
29           Values:
30             - Value:           0x0000000000001234