Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/wasm/
H A DInputChunks.cpp286 uint32_t lastRelocEnd = start + functionSizeLength; in calculateSize() local
289 compressedFuncSize += rel.Offset - lastRelocEnd; in calculateSize()
292 lastRelocEnd = rel.Offset + getRelocWidthPadded(rel); in calculateSize()
294 LLVM_DEBUG(dbgs() << " final region: " << (end - lastRelocEnd) << "\n"); in calculateSize()
295 compressedFuncSize += end - lastRelocEnd; in calculateSize()
323 const uint8_t *lastRelocEnd = funcStart; in writeCompressed() local
325 unsigned chunkSize = (secStart + rel.Offset) - lastRelocEnd; in writeCompressed()
327 memcpy(buf, lastRelocEnd, chunkSize); in writeCompressed()
331 lastRelocEnd = secStart + rel.Offset + getRelocWidthPadded(rel); in writeCompressed()
334 unsigned chunkSize = end - lastRelocEnd; in writeCompressed()
[all …]