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

References

tools/lld/ELF/LinkerScript.cpp
  934     if (!sec)
  938     if (sec->alignExpr)
  939       sec->alignment =
  940           std::max<uint32_t>(sec->alignment, sec->alignExpr().getValue());
  940           std::max<uint32_t>(sec->alignment, sec->alignExpr().getValue());
  944     if (sec->hasInputSections)
  945       flags = sec->flags;
  949     bool isEmpty = getInputSections(sec).empty();
  951       sec->flags = flags & ((sec->nonAlloc ? 0 : (uint64_t)SHF_ALLOC) |
  951       sec->flags = flags & ((sec->nonAlloc ? 0 : (uint64_t)SHF_ALLOC) |
  954     if (isEmpty && isDiscardable(*sec)) {
  955       sec->markDead();
  957     } else if (!sec->isLive()) {
  958       sec->markLive();