• Home
  • Raw
  • Download

Lines Matching refs:RELOC

130 ; RUN: obj2yaml %t.reloc.o | FileCheck %s -check-prefix=RELOC
132 ; RELOC: --- !WASM
133 ; RELOC-NEXT: FileHeader:
134 ; RELOC-NEXT: Version: 0x1
135 ; RELOC-NEXT: Sections:
136 ; RELOC-NEXT: - Type: TYPE
137 ; RELOC-NEXT: Signatures:
138 ; RELOC-NEXT: - Index: 0
139 ; RELOC-NEXT: ParamTypes: []
140 ; RELOC-NEXT: ReturnTypes: []
141 ; RELOC-NEXT: - Index: 1
142 ; RELOC-NEXT: ParamTypes: []
143 ; RELOC-NEXT: ReturnTypes:
144 ; RELOC-NEXT: - I32
145 ; RELOC-NEXT: - Type: IMPORT
146 ; RELOC-NEXT: Imports:
147 ; RELOC-NEXT: - Module: env
148 ; RELOC-NEXT: Field: __stack_pointer
149 ; RELOC-NEXT: Kind: GLOBAL
150 ; RELOC-NEXT: GlobalType: I32
151 ; RELOC-NEXT: GlobalMutable: true
152 ; RELOC-NEXT: - Type: FUNCTION
153 ; RELOC-NEXT: FunctionTypes: [ 0, 1, 1, 1, 1, 1 ]
154 ; RELOC-NEXT: - Type: TABLE
155 ; RELOC-NEXT: Tables:
156 ; RELOC-NEXT: - Index: 0
157 ; RELOC-NEXT: ElemType: FUNCREF
158 ; RELOC-NEXT: Limits:
159 ; RELOC-NEXT: Flags: [ HAS_MAX ]
160 ; RELOC-NEXT: Initial: 0x2
161 ; RELOC-NEXT: Maximum: 0x2
162 ; RELOC-NEXT: - Type: MEMORY
163 ; RELOC-NEXT: Memories:
164 ; RELOC-NEXT: - Initial: 0x0
165 ; RELOC-NEXT: - Type: ELEM
166 ; RELOC-NEXT: Segments:
167 ; RELOC-NEXT: - Offset:
168 ; RELOC-NEXT: Opcode: I32_CONST
169 ; RELOC-NEXT: Value: 1
170 ; RELOC-NEXT: Functions: [ 1 ]
171 ; RELOC-NEXT: - Type: CODE
172 ; RELOC-NEXT: Relocations:
173 ; RELOC-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
174 ; RELOC-NEXT: Index: 1
175 ; RELOC-NEXT: Offset: 0x4
176 ; RELOC-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
177 ; RELOC-NEXT: Index: 2
178 ; RELOC-NEXT: Offset: 0x13
179 ; RELOC-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
180 ; RELOC-NEXT: Index: 1
181 ; RELOC-NEXT: Offset: 0x1C
182 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
183 ; RELOC-NEXT: Index: 6
184 ; RELOC-NEXT: Offset: 0x27
185 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
186 ; RELOC-NEXT: Index: 6
187 ; RELOC-NEXT: Offset: 0x32
188 ; RELOC-NEXT: - Type: R_WASM_TABLE_INDEX_SLEB
189 ; RELOC-NEXT: Index: 1
190 ; RELOC-NEXT: Offset: 0x3A
191 ; RELOC-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
192 ; RELOC-NEXT: Index: 1
193 ; RELOC-NEXT: Offset: 0x43
194 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
195 ; RELOC-NEXT: Index: 6
196 ; RELOC-NEXT: Offset: 0x50
197 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
198 ; RELOC-NEXT: Index: 6
199 ; RELOC-NEXT: Offset: 0x5D
200 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
201 ; RELOC-NEXT: Index: 6
202 ; RELOC-NEXT: Offset: 0x68
203 ; RELOC-NEXT: - Type: R_WASM_TABLE_INDEX_SLEB
204 ; RELOC-NEXT: Index: 2
205 ; RELOC-NEXT: Offset: 0x70
206 ; RELOC-NEXT: - Type: R_WASM_FUNCTION_INDEX_LEB
207 ; RELOC-NEXT: Index: 2
208 ; RELOC-NEXT: Offset: 0x79
209 ; RELOC-NEXT: - Type: R_WASM_GLOBAL_INDEX_LEB
210 ; RELOC-NEXT: Index: 6
211 ; RELOC-NEXT: Offset: 0x86
212 ; RELOC-NEXT: Functions:
213 ; RELOC-NEXT: - Index: 0
214 ; RELOC-NEXT: Locals:
215 ; RELOC-NEXT: Body: 1081808080001A0B
216 ; RELOC-NEXT: - Index: 1
217 ; RELOC-NEXT: Locals:
218 ; RELOC-NEXT: Body: 41000B
219 ; RELOC-NEXT: - Index: 2
220 ; RELOC-NEXT: Locals:
221 ; RELOC-NEXT: Body: 1081808080000B
222 ; RELOC-NEXT: - Index: 3
223 ; RELOC-NEXT: Locals:
224 ; RELOC-NEXT: Body: 1081808080000B
225 ; RELOC-NEXT: - Index: 4
226 ; RELOC-NEXT: Locals:
227 ; RELOC-NEXT: - Type: I32
228 ; RELOC-NEXT: Count: 2
229 ; RELOC-NEXT: Body: 23808080800041106B220024808080800020004181808080003602081081…
230 ; RELOC-NEXT: - Index: 5
231 ; RELOC-NEXT: Locals:
232 ; RELOC-NEXT: - Type: I32
233 ; RELOC-NEXT: Count: 2
234 ; RELOC-NEXT: Body: 23808080800041106B220024808080800020004181808080003602081081…
235 ; RELOC-NEXT: - Type: CUSTOM
236 ; RELOC-NEXT: Name: linking
237 ; RELOC-NEXT: Version: 2
238 ; RELOC-NEXT: SymbolTable:
239 ; RELOC-NEXT: - Index: 0
240 ; RELOC-NEXT: Kind: FUNCTION
241 ; RELOC-NEXT: Name: _start
242 ; RELOC-NEXT: Flags: [ ]
243 ; RELOC-NEXT: Function: 0
244 ; RELOC-NEXT: - Index: 1
245 ; RELOC-NEXT: Kind: FUNCTION
246 ; RELOC-NEXT: Name: alias_fn
247 ; RELOC-NEXT: Flags: [ BINDING_WEAK ]
248 ; RELOC-NEXT: Function: 1
249 ; RELOC-NEXT: - Index: 2
250 ; RELOC-NEXT: Kind: FUNCTION
251 ; RELOC-NEXT: Name: direct_fn
252 ; RELOC-NEXT: Flags: [ ]
253 ; RELOC-NEXT: Function: 1
254 ; RELOC-NEXT: - Index: 3
255 ; RELOC-NEXT: Kind: FUNCTION
256 ; RELOC-NEXT: Name: call_direct
257 ; RELOC-NEXT: Flags: [ ]
258 ; RELOC-NEXT: Function: 2
259 ; RELOC-NEXT: - Index: 4
260 ; RELOC-NEXT: Kind: FUNCTION
261 ; RELOC-NEXT: Name: call_alias
262 ; RELOC-NEXT: Flags: [ ]
263 ; RELOC-NEXT: Function: 3
264 ; RELOC-NEXT: - Index: 5
265 ; RELOC-NEXT: Kind: FUNCTION
266 ; RELOC-NEXT: Name: call_alias_ptr
267 ; RELOC-NEXT: Flags: [ ]
268 ; RELOC-NEXT: Function: 4
269 ; RELOC-NEXT: - Index: 6
270 ; RELOC-NEXT: Kind: GLOBAL
271 ; RELOC-NEXT: Name: __stack_pointer
272 ; RELOC-NEXT: Flags: [ UNDEFINED ]
273 ; RELOC-NEXT: Global: 0
274 ; RELOC-NEXT: - Index: 7
275 ; RELOC-NEXT: Kind: FUNCTION
276 ; RELOC-NEXT: Name: call_direct_ptr
277 ; RELOC-NEXT: Flags: [ ]
278 ; RELOC-NEXT: Function: 5
279 ; RELOC-NEXT: - Type: CUSTOM
280 ; RELOC-NEXT: Name: name
281 ; RELOC-NEXT: FunctionNames:
282 ; RELOC-NEXT: - Index: 0
283 ; RELOC-NEXT: Name: _start
284 ; RELOC-NEXT: - Index: 1
285 ; RELOC-NEXT: Name: direct_fn
286 ; RELOC-NEXT: - Index: 2
287 ; RELOC-NEXT: Name: call_direct
288 ; RELOC-NEXT: - Index: 3
289 ; RELOC-NEXT: Name: call_alias
290 ; RELOC-NEXT: - Index: 4
291 ; RELOC-NEXT: Name: call_alias_ptr
292 ; RELOC-NEXT: - Index: 5
293 ; RELOC-NEXT: Name: call_direct_ptr
294 ; RELOC-NEXT: GlobalNames:
295 ; RELOC-NEXT: - Index: 0
296 ; RELOC-NEXT: Name: __stack_pointer
297 ; RELOC-NEXT: ...