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

References

lib/ObjectYAML/COFFEmitter.cpp
  233     if (S.Name == ".debug$S") {
  234       if (S.SectionData.binary_size() == 0) {
  238         S.SectionData =
  239             toDebugS(S.DebugS, CP.StringsAndChecksums, CP.Allocator);
  241     } else if (S.Name == ".debug$T") {
  242       if (S.SectionData.binary_size() == 0)
  243         S.SectionData = CodeViewYAML::toDebugT(S.DebugT, CP.Allocator, S.Name);
  243         S.SectionData = CodeViewYAML::toDebugT(S.DebugT, CP.Allocator, S.Name);
  243         S.SectionData = CodeViewYAML::toDebugT(S.DebugT, CP.Allocator, S.Name);
  244     } else if (S.Name == ".debug$P") {
  245       if (S.SectionData.binary_size() == 0)
  246         S.SectionData = CodeViewYAML::toDebugT(S.DebugP, CP.Allocator, S.Name);
  246         S.SectionData = CodeViewYAML::toDebugT(S.DebugP, CP.Allocator, S.Name);
  246         S.SectionData = CodeViewYAML::toDebugT(S.DebugP, CP.Allocator, S.Name);
  247     } else if (S.Name == ".debug$H") {
  248       if (S.DebugH.hasValue() && S.SectionData.binary_size() == 0)
  248       if (S.DebugH.hasValue() && S.SectionData.binary_size() == 0)
  249         S.SectionData = CodeViewYAML::toDebugH(*S.DebugH, CP.Allocator);
  249         S.SectionData = CodeViewYAML::toDebugH(*S.DebugH, CP.Allocator);
  252     if (S.SectionData.binary_size() > 0) {
  255       S.Header.SizeOfRawData = S.SectionData.binary_size();
  255       S.Header.SizeOfRawData = S.SectionData.binary_size();
  257         S.Header.SizeOfRawData =
  258             alignTo(S.Header.SizeOfRawData, CP.getFileAlignment());
  259       S.Header.PointerToRawData = CurrentSectionDataOffset;
  260       CurrentSectionDataOffset += S.Header.SizeOfRawData;
  261       if (!S.Relocations.empty()) {
  262         S.Header.PointerToRelocations = CurrentSectionDataOffset;
  263         S.Header.NumberOfRelocations = S.Relocations.size();
  263         S.Header.NumberOfRelocations = S.Relocations.size();
  265             S.Header.NumberOfRelocations * COFF::RelocationSize;
  270       S.Header.PointerToRawData = 0;