Home
last modified time | relevance | path

Searched refs:lastRelocEnd (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/lld/wasm/
DInputChunks.cpp297 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()
[all …]