Lines Matching full:relocations
60 for (const WasmRelocation &rel : relocations) { in verifyRelocTargets()
121 // Copy this input chunk to an mmap'ed output file and apply relocations.
126 // Apply relocations in writeTo()
127 if (relocations.empty()) in writeTo()
134 LLVM_DEBUG(dbgs() << "applying relocations: " << toString(this) in writeTo()
135 << " count=" << relocations.size() << "\n"); in writeTo()
139 for (const WasmRelocation &rel : relocations) { in writeTo()
192 // we consume relocations instead of copying them to an output file.
194 if (relocations.empty()) in writeRelocations()
201 for (const WasmRelocation &rel : relocations) { in writeRelocations()
271 // Relocations of type LEB and SLEB in the code section are padded to 5 bytes
298 for (const WasmRelocation &rel : relocations) { in calculateSize()
337 for (const WasmRelocation &rel : relocations) { in writeTo()
352 // Generate code to apply relocations to the data section at runtime.
356 LLVM_DEBUG(dbgs() << "generating runtime relocations: " << getName() in generateRelocationCode()
357 << " count=" << relocations.size() << "\n"); in generateRelocationCode()
367 // TODO(sbc): Encode the relocations in the data section and write a loop in generateRelocationCode()
370 for (const WasmRelocation &rel : relocations) { in generateRelocationCode()
425 // When a function is not live we need to update relocations referring to it. in getTombstoneForSection()