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

References

tools/lld/ELF/Driver.cpp
 1809   Out::elfHeader->size = sizeof(typename ELFT::Ehdr);
tools/lld/ELF/InputSection.cpp
  171     return offset == uint64_t(-1) ? os->size : offset;
tools/lld/ELF/LinkerScript.cpp
  123   ctx->outSec->size += size;
  845   sec->size = 0;
 1054     Out::programHeaders->addr = min + Out::elfHeader->size;
 1091     Out::programHeaders->addr = dot + Out::elfHeader->size;
tools/lld/ELF/MapFile.cpp
  175     writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment);
tools/lld/ELF/OutputSections.cpp
   65   shdr->sh_size = size;
  232   return Out::elfHeader->size + Out::programHeaders->size;
  232   return Out::elfHeader->size + Out::programHeaders->size;
  269   hdr->ch_size = size;
  273   std::vector<uint8_t> buf(size);
  279   size = sizeof(Elf_Chdr) + compressedData.size();
  315     fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler);
  326         end = buf + size;
tools/lld/ELF/ScriptParser.cpp
  500       os->lmaExpr = [=] { return prev->getLMA() + prev->size; };
  514       max = std::max(max, cast<OutputSection>(cmd)->size);
 1268     return [=] { return cmd->size; };
tools/lld/ELF/SyntheticSections.cpp
 1235   entries.push_back({tag, [=] { return sec->size; }});
tools/lld/ELF/Writer.cpp
  150     uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr;
 1860     Out::programHeaders->size = sizeof(Elf_Phdr) * mainPart->phdrs.size();
 2321   return off + os->size;
 2374     if ((sec->offset > fileSize) || (sec->offset + sec->size > fileSize))
 2376             rangeToString(sec->offset, sec->size) +
 2391         p->p_filesz += last->size;
 2393       p->p_memsz = last->addr + last->size - first->addr;
 2438     if (b.offset >= a.offset + a.sec->size)
 2448                 " range is " + rangeToString(a.offset, a.sec->size) + "\n>>> " +
 2450                 rangeToString(b.offset, b.sec->size));
 2462     if ((os->addr + os->size < os->addr) ||
 2463         (!ELFT::Is64Bits && os->addr + os->size > UINT32_MAX))
 2465                   " of size 0x" + utohexstr(os->size) +
 2475     if (sec->size > 0 && sec->type != SHT_NOBITS &&
 2493     if (sec->size > 0 && (sec->flags & SHF_ALLOC) && !(sec->flags & SHF_TLS))
 2502     if (sec->size > 0 && (sec->flags & SHF_ALLOC) && !(sec->flags & SHF_TLS))