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

References

lib/ObjectYAML/COFFEmitter.cpp
  210   CP.SectionTableStart =
  211       CP.getHeaderSize() + CP.Obj.Header.SizeOfOptionalHeader;
  211       CP.getHeaderSize() + CP.Obj.Header.SizeOfOptionalHeader;
  212   if (CP.isPE())
  213     CP.SectionTableStart += DOSStubSize + sizeof(COFF::PEMagic);
  214   CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size();
  214   CP.SectionTableSize = COFF::SectionSize * CP.Obj.Sections.size();
  217       CP.SectionTableStart + CP.SectionTableSize;
  217       CP.SectionTableStart + CP.SectionTableSize;
  219   for (COFFYAML::Section &S : CP.Obj.Sections) {
  224                                                   CP.StringsAndChecksums);
  225       if (CP.StringsAndChecksums.hasChecksums() &&
  226           CP.StringsAndChecksums.hasStrings())
  232   for (COFFYAML::Section &S : CP.Obj.Sections) {
  235         assert(CP.StringsAndChecksums.hasStrings() &&
  239             toDebugS(S.DebugS, CP.StringsAndChecksums, CP.Allocator);
  239             toDebugS(S.DebugS, CP.StringsAndChecksums, CP.Allocator);
  243         S.SectionData = CodeViewYAML::toDebugT(S.DebugT, CP.Allocator, S.Name);
  246         S.SectionData = CodeViewYAML::toDebugT(S.DebugP, CP.Allocator, S.Name);
  249         S.SectionData = CodeViewYAML::toDebugH(*S.DebugH, CP.Allocator);
  254                                          CP.isPE() ? CP.getFileAlignment() : 4);
  254                                          CP.isPE() ? CP.getFileAlignment() : 4);
  256       if (CP.isPE())
  258             alignTo(S.Header.SizeOfRawData, CP.getFileAlignment());
  278   for (std::vector<COFFYAML::Symbol>::iterator i = CP.Obj.Symbols.begin(),
  279                                                e = CP.Obj.Symbols.end();
  290           (i->File.size() + CP.getSymbolSize() - 1) / CP.getSymbolSize();
  290           (i->File.size() + CP.getSymbolSize() - 1) / CP.getSymbolSize();
  300   CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size();
  300   CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size();
  301   CP.Obj.Header.NumberOfSymbols = NumberOfSymbols;
  302   if (NumberOfSymbols > 0 || CP.StringTable.size() > 4)
  303     CP.Obj.Header.PointerToSymbolTable = SymbolTableStart;
  305     CP.Obj.Header.PointerToSymbolTable = 0;
  307   *reinterpret_cast<support::ulittle32_t *>(&CP.StringTable[0]) =
  308       CP.StringTable.size();