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

References

tools/llvm-objcopy/ELF/Object.cpp
 1933     Sec.Index = Index++;
 1934     if (Sec.ParentSegment != nullptr) {
 1935       auto Segment = *Sec.ParentSegment;
 1936       Sec.Offset =
 1937           Segment.Offset + (Sec.OriginalOffset - Segment.OriginalOffset);
 1939       Offset = alignTo(Offset, Sec.Align == 0 ? 1 : Sec.Align);
 1939       Offset = alignTo(Offset, Sec.Align == 0 ? 1 : Sec.Align);
 1940       Sec.Offset = Offset;
 1941       if (Sec.Type != SHT_NOBITS)
 1942         Offset += Sec.Size;