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

References

lib/MC/WinCOFFObjectWriter.cpp
  902     if (Sec->Number == -1)
  905     Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section);
  907     if (IsPhysicalSection(Sec)) {
  908       Sec->Header.PointerToRawData = Offset;
  909       Offset += Sec->Header.SizeOfRawData;
  912     if (!Sec->Relocations.empty()) {
  913       bool RelocationsOverflow = Sec->Relocations.size() >= 0xffff;
  918         Sec->Header.NumberOfRelocations = 0xffff;
  920         Sec->Header.NumberOfRelocations = Sec->Relocations.size();
  920         Sec->Header.NumberOfRelocations = Sec->Relocations.size();
  922       Sec->Header.PointerToRelocations = Offset;
  929       Offset += COFF::RelocationSize * Sec->Relocations.size();
  931       for (auto &Relocation : Sec->Relocations) {
  937     assert(Sec->Symbol->Aux.size() == 1 &&
  939     AuxSymbol &Aux = Sec->Symbol->Aux[0];
  942     Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData;
  944         Sec->Header.NumberOfRelocations;
  946         Sec->Header.NumberOfLineNumbers;