Lines Matching refs:memRegion
157 static void expandMemoryRegion(MemoryRegion *memRegion, uint64_t size, in expandMemoryRegion() argument
159 memRegion->curPos += size; in expandMemoryRegion()
160 uint64_t newSize = memRegion->curPos - (memRegion->origin)().getValue(); in expandMemoryRegion()
161 uint64_t length = (memRegion->length)().getValue(); in expandMemoryRegion()
164 memRegion->name + "': overflowed by " + Twine(newSize - length) + in expandMemoryRegion()
169 if (ctx->memRegion) in expandMemoryRegions()
170 expandMemoryRegion(ctx->memRegion, size, ctx->outSec->name); in expandMemoryRegions()
172 if (ctx->lmaRegion && ctx->memRegion != ctx->lmaRegion) in expandMemoryRegions()
953 const bool sameMemRegion = ctx->memRegion == sec->memRegion; in assignOffsets()
956 ctx->memRegion = sec->memRegion; in assignOffsets()
970 if (ctx->memRegion) in assignOffsets()
971 dot = ctx->memRegion->curPos; in assignOffsets()
979 if (ctx->memRegion && ctx->memRegion->curPos < dot) in assignOffsets()
980 expandMemoryRegion(ctx->memRegion, dot - ctx->memRegion->curPos, in assignOffsets()
1204 std::tie(sec->memRegion, hint) = findMemoryRegion(sec, hint); in adjustSectionsAfterSorting()