Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verify_invalid_rnglists.yaml
blob9b363fd7e4f8cac76cddecc939ee04a614762d7d
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, "/tmp/main.c"
6 # CHECK-NEXT: error: DW_AT_ranges offset is beyond .debug_rnglists bounds: 0x00001000
8 --- !ELF
9 FileHeader:
10   Class: ELFCLASS64
11   Data:  ELFDATA2LSB
12   Type:  ET_EXEC
13 DWARF:
14   debug_str:
15     - ''
16     - /tmp/main.c
17   debug_abbrev:
18     - Table:
19         - Code:            0x00000001
20           Tag:             DW_TAG_compile_unit
21           Children:        DW_CHILDREN_no
22           Attributes:
23             - Attribute:       DW_AT_name
24               Form:            DW_FORM_strp
25             - Attribute:       DW_AT_ranges
26               Form:            DW_FORM_sec_offset
27   debug_info:
28     - Version:         5
29       UnitType:        DW_UT_compile
30       AddrSize:        8
31       Entries:
32         - AbbrCode:        0x00000001
33           Values:
34             - Value:           0x0000000000000001
35             - Value:           0x0000000000001000