[RISCV] Change func to funct in RISCVInstrInfoXqci.td. NFC (#119669)
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / AArch64 / MachO_subtractor_single_block.yaml
blobe45f2961d0174e6d474b5ab549ded900dd9cc57c
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-jitlink -noexec -phony-externals %t
4 # Check that MachO::ARM64_RELOC_SUBTRACTOR relocations work when the fixup
5 # location and target are in the same block (in this case in the __eh_frame
6 # section).
8 --- !mach-o
9 IsLittleEndian: true
10 FileHeader:
11   magic:           0xFEEDFACF
12   cputype:         0x100000C
13   cpusubtype:      0x0
14   filetype:        0x1
15   ncmds:           5
16   sizeofcmds:      480
17   flags:           0x0
18   reserved:        0x0
19 LoadCommands:
20   - cmd:             LC_SEGMENT_64
21     cmdsize:         392
22     segname:         ''
23     vmaddr:          0
24     vmsize:          200
25     fileoff:         544
26     filesize:        200
27     maxprot:         7
28     initprot:        7
29     nsects:          4
30     flags:           0
31     Sections:
32       - sectname:        __text
33         segname:         __TEXT
34         addr:            0x0
35         size:            72
36         offset:          0x220
37         align:           2
38         reloff:          0x2E8
39         nreloc:          6
40         flags:           0x80000400
41         reserved1:       0x0
42         reserved2:       0x0
43         reserved3:       0x0
44         content:         F44FBEA9FD7B01A9800080520000009448058052080000B901000090210040F9020080D200000094200020D400000094130040B900000094E00313AAFD7B41A9F44FC2A8C0035FD6
45         relocations:
46           - address:         0x34
47             symbolnum:       7
48             pcrel:           true
49             length:          2
50             extern:          true
51             type:            2
52             scattered:       false
53             value:           0
54           - address:         0x2C
55             symbolnum:       6
56             pcrel:           true
57             length:          2
58             extern:          true
59             type:            2
60             scattered:       false
61             value:           0
62           - address:         0x24
63             symbolnum:       8
64             pcrel:           true
65             length:          2
66             extern:          true
67             type:            2
68             scattered:       false
69             value:           0
70           - address:         0x1C
71             symbolnum:       4
72             pcrel:           false
73             length:          2
74             extern:          true
75             type:            6
76             scattered:       false
77             value:           0
78           - address:         0x18
79             symbolnum:       4
80             pcrel:           true
81             length:          2
82             extern:          true
83             type:            5
84             scattered:       false
85             value:           0
86           - address:         0xC
87             symbolnum:       5
88             pcrel:           true
89             length:          2
90             extern:          true
91             type:            2
92             scattered:       false
93             value:           0
94       - sectname:        __gcc_except_tab
95         segname:         __TEXT
96         addr:            0x48
97         size:            24
98         offset:          0x268
99         align:           2
100         reloff:          0x318
101         nreloc:          1
102         flags:           0x0
103         reserved1:       0x0
104         reserved2:       0x0
105         reserved3:       0x0
106         content:         FF9B15010C0018000018102C012820000001000000000000
107         relocations:
108           - address:         0x14
109             symbolnum:       4
110             pcrel:           true
111             length:          2
112             extern:          true
113             type:            7
114             scattered:       false
115             value:           0
116       - sectname:        __eh_frame
117         segname:         __TEXT
118         addr:            0x60
119         size:            72
120         offset:          0x280
121         align:           3
122         reloff:          0x320
123         nreloc:          7
124         flags:           0x0
125         reserved1:       0x0
126         reserved2:       0x0
127         reserved3:       0x0
128         content:         1800000000000000017A504C520001781E079B0000000010100C1F002800000004000000F8FFFFFFFFFFFFFF480000000000000008E7FFFFFFFFFFFFFF480E209E019D0293039404
129         relocations:
130           - address:         0x13
131             symbolnum:       9
132             pcrel:           true
133             length:          2
134             extern:          true
135             type:            7
136             scattered:       false
137             value:           0
138           - address:         0x20
139             symbolnum:       1
140             pcrel:           false
141             length:          2
142             extern:          true
143             type:            1
144             scattered:       false
145             value:           0
146           - address:         0x20
147             symbolnum:       2
148             pcrel:           false
149             length:          2
150             extern:          true
151             type:            0
152             scattered:       false
153             value:           0
154           - address:         0x24
155             symbolnum:       2
156             pcrel:           false
157             length:          3
158             extern:          true
159             type:            1
160             scattered:       false
161             value:           0
162           - address:         0x24
163             symbolnum:       3
164             pcrel:           false
165             length:          3
166             extern:          true
167             type:            0
168             scattered:       false
169             value:           0
170           - address:         0x35
171             symbolnum:       2
172             pcrel:           false
173             length:          3
174             extern:          true
175             type:            1
176             scattered:       false
177             value:           0
178           - address:         0x35
179             symbolnum:       0
180             pcrel:           false
181             length:          3
182             extern:          true
183             type:            0
184             scattered:       false
185             value:           0
186       - sectname:        __compact_unwind
187         segname:         __LD
188         addr:            0xA8
189         size:            32
190         offset:          0x2C8
191         align:           3
192         reloff:          0x358
193         nreloc:          2
194         flags:           0x2000000
195         reserved1:       0x0
196         reserved2:       0x0
197         reserved3:       0x0
198         content:         '0000000000000000480000000000000300000000000000000000000000000000'
199         relocations:
200           - address:         0x0
201             symbolnum:       3
202             pcrel:           false
203             length:          3
204             extern:          true
205             type:            0
206             scattered:       false
207             value:           0
208           - address:         0x18
209             symbolnum:       0
210             pcrel:           false
211             length:          3
212             extern:          true
213             type:            0
214             scattered:       false
215             value:           0
216   - cmd:             LC_SYMTAB
217     cmdsize:         24
218     symoff:          880
219     nsyms:           10
220     stroff:          1040
221     strsize:         152
222   - cmd:             LC_BUILD_VERSION
223     cmdsize:         32
224     platform:        1
225     minos:           917504
226     sdk:             0
227     ntools:          1
228     Tools:
229       - tool:            3
230         version:         59048448
231   - cmd:             LC_DATA_IN_CODE
232     cmdsize:         16
233     dataoff:         872
234     datasize:        0
235   - cmd:             LC_LINKER_OPTIMIZATION_HINT
236     cmdsize:         16
237     dataoff:         872
238     datasize:        8
239 LinkEditData:
240   NameList:
241     - n_strx:          112
242       n_type:          0xE
243       n_sect:          2
244       n_desc:          32
245       n_value:         72
246     - n_strx:          130
247       n_type:          0xE
248       n_sect:          3
249       n_desc:          0
250       n_value:         96
251     - n_strx:          140
252       n_type:          0xE
253       n_sect:          3
254       n_desc:          0
255       n_value:         124
256     - n_strx:          2
257       n_type:          0xF
258       n_sect:          1
259       n_desc:          32
260       n_value:         0
261     - n_strx:          8
262       n_type:          0x1
263       n_sect:          0
264       n_desc:          0
265       n_value:         0
266     - n_strx:          15
267       n_type:          0x1
268       n_sect:          0
269       n_desc:          0
270       n_value:         0
271     - n_strx:          41
272       n_type:          0x1
273       n_sect:          0
274       n_desc:          0
275       n_value:         0
276     - n_strx:          60
277       n_type:          0x1
278       n_sect:          0
279       n_desc:          0
280       n_value:         0
281     - n_strx:          77
282       n_type:          0x1
283       n_sect:          0
284       n_desc:          0
285       n_value:         0
286     - n_strx:          90
287       n_type:          0x1
288       n_sect:          0
289       n_desc:          0
290       n_value:         0
291   StringTable:
292     - ' '
293     - _main
294     - __ZTIi
295     - ___cxa_allocate_exception
296     - ___cxa_begin_catch
297     - ___cxa_end_catch
298     - ___cxa_throw
299     - ___gxx_personality_v0
300     - GCC_except_table0
301     - EH_Frame1
302     - func.eh
303     - ''
304     - ''
305     - ''
306     - ''