[SLP]Reduce number of alternate instruction, where possible
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / MachO_ehframe_bad_fde_cie-ptr_out-of-range.test
blob21dc093c4e0490611bd28d61c873a995d3191242
1 # RUN: yaml2obj %s -o %t
2 # RUN: not llvm-jitlink -noexec %t 2>&1 | FileCheck %s
4 # Check that FDE with bogus CIE pointer triggers an error.
6 # CHECK: llvm-jitlink error: No CIE found at address
8 --- !mach-o
9 IsLittleEndian:    true
10 FileHeader:
11   magic:           0xFEEDFACF
12   cputype:         0x1000007
13   cpusubtype:      0x3
14   filetype:        0x1
15   ncmds:           4
16   sizeofcmds:      360
17   flags:           0x2000
18   reserved:        0x0
19 LoadCommands:
20   - cmd:             LC_SEGMENT_64
21     cmdsize:         232
22     segname:         ''
23     vmaddr:          0
24     vmsize:          64
25     fileoff:         392
26     filesize:        64
27     maxprot:         7
28     initprot:        7
29     nsects:          2
30     flags:           0
31     Sections:
32       - sectname:        __text
33         segname:         __TEXT
34         addr:            0x0
35         size:            3
36         offset:          0x188
37         align:           4
38         reloff:          0x0
39         nreloc:          0
40         flags:           0x80000400
41         reserved1:       0x0
42         reserved2:       0x0
43         reserved3:       0x0
44         content:         31C0C3
45       - sectname:        __eh_frame
46         segname:         __TEXT
47         addr:            0x8
48         size:            56
49         offset:          0x190
50         align:           3
51         reloff:          0x0
52         nreloc:          0
53         flags:           0x6800000B
54         reserved1:       0x0
55         reserved2:       0x0
56         reserved3:       0x0
57         content:         1400000000000000017A520001781001100C0708900100001C0000002C000000D8FFFFFFFFFFFFFF03000000000000000000000000000000
58   - cmd:             LC_BUILD_VERSION
59     cmdsize:         24
60     platform:        1
61     minos:           851968
62     sdk:             0
63     ntools:          0
64   - cmd:             LC_SYMTAB
65     cmdsize:         24
66     symoff:          456
67     nsyms:           1
68     stroff:          472
69     strsize:         8
70   - cmd:             LC_DYSYMTAB
71     cmdsize:         80
72     ilocalsym:       0
73     nlocalsym:       0
74     iextdefsym:      0
75     nextdefsym:      1
76     iundefsym:       1
77     nundefsym:       0
78     tocoff:          0
79     ntoc:            0
80     modtaboff:       0
81     nmodtab:         0
82     extrefsymoff:    0
83     nextrefsyms:     0
84     indirectsymoff:  0
85     nindirectsyms:   0
86     extreloff:       0
87     nextrel:         0
88     locreloff:       0
89     nlocrel:         0
90 LinkEditData:
91   NameList:
92     - n_strx:          1
93       n_type:          0xF
94       n_sect:          1
95       n_desc:          0
96       n_value:         0
97   StringTable:
98     - ''
99     - _main
100     - ''