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

References

tools/lld/ELF/InputFiles.cpp
  785   return make<InputSection>(sec->file, sec->flags, sec->type, sec->alignment,
tools/lld/ELF/InputSection.cpp
   79   this->alignment = v;
  254     alignment = std::max<uint32_t>(hdr->ch_addralign, 1);
  272   alignment = std::max<uint32_t>(hdr->ch_addralign, 1);
 1141   alignment = std::max(alignment, other->alignment);
 1141   alignment = std::max(alignment, other->alignment);
 1141   alignment = std::max(alignment, other->alignment);
tools/lld/ELF/LinkerScript.cpp
  362     return a->alignment > b->alignment;
  362     return a->alignment > b->alignment;
  513           s->alignment = subalign;
  747   uint64_t pos = advance(s->getSize(), s->alignment);
  760   ctx->outSec->addr = advance(0, ctx->outSec->alignment);
  939       sec->alignment =
  940           std::max<uint32_t>(sec->alignment, sec->alignExpr().getValue());
tools/lld/ELF/MapFile.cpp
  175     writeHeader(os, osec->addr, osec->getLMA(), osec->size, osec->alignment);
  188                       isec->getSize(), isec->alignment);
tools/lld/ELF/OutputSections.cpp
   58   shdr->sh_addralign = alignment;
  146   alignment = std::max(alignment, isec->alignment);
  146   alignment = std::max(alignment, isec->alignment);
  146   alignment = std::max(alignment, isec->alignment);
  193                (sec->alignment == ms->alignment || !(sec->flags & SHF_STRINGS));
  193                (sec->alignment == ms->alignment || !(sec->flags & SHF_STRINGS));
  197             createMergeSynthetic(name, ms->type, ms->flags, ms->alignment);
  270   hdr->ch_addralign = alignment;
tools/lld/ELF/Relocations.cpp
  944   if (part.relrDyn && isec->alignment >= 2 && offsetInSec % 2 == 0) {
tools/lld/ELF/ScriptParser.cpp
 1180       return cmd->alignment;
tools/lld/ELF/SyntheticSections.cpp
  441   alignment = std::max(alignment, sec->alignment);
  441   alignment = std::max(alignment, sec->alignment);
  441   alignment = std::max(alignment, sec->alignment);
  862             uint64_t off = alignTo(secSize, isec->alignment);
 2156       eSym->st_value = commonSec->alignment;
 3033   assert(alignment == ms->alignment || !(ms->flags & SHF_STRINGS));
 3033   assert(alignment == ms->alignment || !(ms->flags & SHF_STRINGS));
 3034   alignment = std::max(alignment, ms->alignment);
 3034   alignment = std::max(alignment, ms->alignment);
 3034   alignment = std::max(alignment, ms->alignment);
 3082     shards.emplace_back(StringTableBuilder::RAW, alignment);
 3109       off = alignTo(off, alignment);
tools/lld/ELF/Writer.cpp
  332   Out::programHeaders->alignment = config->wordsize;
  984   p_align = std::max(p_align, sec->alignment);
 2198       if (!note || sec->lmaExpr || note->lastSec->alignment != sec->alignment)
 2198       if (!note || sec->lmaExpr || note->lastSec->alignment != sec->alignment)
 2305     return alignTo(off, os->alignment);