Lines Matching refs:lastRelocEnd
297 uint32_t lastRelocEnd = start + functionSizeLength; in calculateSize() local
299 LLVM_DEBUG(dbgs() << " region: " << (rel.Offset - lastRelocEnd) << "\n"); in calculateSize()
300 compressedFuncSize += rel.Offset - lastRelocEnd; in calculateSize()
302 lastRelocEnd = rel.Offset + getRelocWidthPadded(rel); in calculateSize()
304 LLVM_DEBUG(dbgs() << " final region: " << (end - lastRelocEnd) << "\n"); in calculateSize()
305 compressedFuncSize += end - lastRelocEnd; in calculateSize()
336 const uint8_t *lastRelocEnd = funcStart; in writeTo() local
338 unsigned chunkSize = (secStart + rel.Offset) - lastRelocEnd; in writeTo()
340 memcpy(buf, lastRelocEnd, chunkSize); in writeTo()
343 lastRelocEnd = secStart + rel.Offset + getRelocWidthPadded(rel); in writeTo()
346 unsigned chunkSize = end - lastRelocEnd; in writeTo()
348 memcpy(buf, lastRelocEnd, chunkSize); in writeTo()