Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verify_overlapping_lexical_block_ranges.yaml
blob137f9a234c3aad32c3200851699bd1435b583658
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: DIEs have overlapping address 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     - main
18   debug_abbrev:
19     - Table:
20         - Code:            0x00000001
21           Tag:             DW_TAG_compile_unit
22           Children:        DW_CHILDREN_yes
23           Attributes:
24             - Attribute:       DW_AT_low_pc
25               Form:            DW_FORM_addr
26             - Attribute:       DW_AT_high_pc
27               Form:            DW_FORM_addr
28             - Attribute:       DW_AT_name
29               Form:            DW_FORM_strp
30         - Code:            0x00000002
31           Tag:             DW_TAG_subprogram
32           Children:        DW_CHILDREN_yes
33           Attributes:
34             - Attribute:       DW_AT_name
35               Form:            DW_FORM_strp
36             - Attribute:       DW_AT_low_pc
37               Form:            DW_FORM_addr
38             - Attribute:       DW_AT_high_pc
39               Form:            DW_FORM_addr
40         - Code:            0x00000003
41           Tag:             DW_TAG_lexical_block
42           Children:        DW_CHILDREN_no
43           Attributes:
44             - Attribute:       DW_AT_low_pc
45               Form:            DW_FORM_addr
46             - Attribute:       DW_AT_high_pc
47               Form:            DW_FORM_addr
48   debug_info:
49     - Version:         4
50       AddrSize:        8
51       Entries:
52         - AbbrCode:        0x00000001
53           Values:
54             - Value:           0x0000000000001000
55             - Value:           0x0000000000002000
56             - Value:           0x0000000000000001
57         - AbbrCode:        0x00000002
58           Values:
59             - Value:           0x000000000000000D
60             - Value:           0x0000000000001000
61             - Value:           0x0000000000002000
62         - AbbrCode:        0x00000003
63           Values:
64             - Value:           0x0000000000001100
65             - Value:           0x0000000000001300
66         - AbbrCode:        0x00000003
67           Values:
68             - Value:           0x00000000000012FF
69             - Value:           0x0000000000001300
70         - AbbrCode:        0x00000000
71         - AbbrCode:        0x00000000