Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verify_curanges_incomplete.yaml
blobde6f325dc88aadeff35f79d3cd2244ba55a6d53f
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -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: DIE address ranges are not contained in its parent's ranges:
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_yes
22           Attributes:
23             - Attribute:       DW_AT_low_pc
24               Form:            DW_FORM_addr
25             - Attribute:       DW_AT_high_pc
26               Form:            DW_FORM_addr
27             - Attribute:       DW_AT_name
28               Form:            DW_FORM_strp
29         - Code:            0x00000002
30           Tag:             DW_TAG_subprogram
31           Children:        DW_CHILDREN_no
32           Attributes:
33             - Attribute:       DW_AT_low_pc
34               Form:            DW_FORM_addr
35             - Attribute:       DW_AT_high_pc
36               Form:            DW_FORM_addr
37   debug_info:
38     - Version:         4
39       AddrSize:        8
40       Entries:
41         - AbbrCode:        0x00000001
42           Values:
43             - Value:           0x0000000000001000
44             - Value:           0x0000000000001500
45             - Value:           0x0000000000000001
46         - AbbrCode:        0x00000002
47           Values:
48             - Value:           0x0000000000001000
49             - Value:           0x0000000000002000
50         - AbbrCode:        0x00000000