reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/LinkerScript.cpp
  113   if (ctx->memRegion)
  114     expandMemoryRegion(ctx->memRegion, size, ctx->memRegion->name,
  114     expandMemoryRegion(ctx->memRegion, size, ctx->memRegion->name,
  115                        ctx->outSec->name);
  117   if (ctx->lmaRegion && ctx->memRegion != ctx->lmaRegion)
  117   if (ctx->lmaRegion && ctx->memRegion != ctx->lmaRegion)
  117   if (ctx->lmaRegion && ctx->memRegion != ctx->lmaRegion)
  118     expandMemoryRegion(ctx->lmaRegion, size, ctx->lmaRegion->name,
  118     expandMemoryRegion(ctx->lmaRegion, size, ctx->lmaRegion->name,
  119                        ctx->outSec->name);
  123   ctx->outSec->size += size;
  131           ctx->outSec->name);
  281   assert(!ctx);
  538   ctx = &state;
  539   ctx->outSec = aether;
  550   ctx = nullptr;
  732       (ctx->outSec->flags & SHF_TLS) && ctx->outSec->type == SHT_NOBITS;
  732       (ctx->outSec->flags & SHF_TLS) && ctx->outSec->type == SHT_NOBITS;
  733   uint64_t start = isTbss ? dot + ctx->threadBssOffset : dot;
  738     ctx->threadBssOffset = end - dot;
  745   assert(ctx->outSec == s->getParent());
  748   s->outSecOff = pos - s->getSize() - ctx->outSec->addr;
  757   ctx->outSec = sec;
  760   ctx->outSec->addr = advance(0, ctx->outSec->alignment);
  760   ctx->outSec->addr = advance(0, ctx->outSec->alignment);
  761   expandMemoryRegions(ctx->outSec->addr - before);
  809   ctx->memRegion = sec->memRegion;
  810   ctx->lmaRegion = sec->lmaRegion;
  811   if (ctx->memRegion)
  812     dot = ctx->memRegion->curPos;
  821   if (ctx->memRegion && ctx->memRegion->curPos < dot)
  821   if (ctx->memRegion && ctx->memRegion->curPos < dot)
  822     expandMemoryRegion(ctx->memRegion, dot - ctx->memRegion->curPos,
  822     expandMemoryRegion(ctx->memRegion, dot - ctx->memRegion->curPos,
  823                        ctx->memRegion->name, sec->name);
  828     ctx->lmaOffset = sec->lmaExpr().getValue() - dot;
  831     ctx->lmaOffset = mr->curPos - dot;
  839   if (PhdrEntry *l = ctx->outSec->ptLoad)
  841       l->lmaOffset = ctx->lmaOffset;
  861       cmd->offset = dot - ctx->outSec->addr;
 1096   ctx = deleter.get();
 1111   ctx = nullptr;
 1164     if (ctx)
 1165       return {ctx->outSec, false, dot - ctx->outSec->addr, loc};
 1165       return {ctx->outSec, false, dot - ctx->outSec->addr, loc};