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

References

lib/ObjectYAML/COFFEmitter.cpp
  403   if (CP.isPE()) {
  426   if (CP.useBigObj()) {
  431        << binary_le(CP.Obj.Header.Machine)
  432        << binary_le(CP.Obj.Header.TimeDateStamp);
  435        << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections)
  436        << binary_le(CP.Obj.Header.PointerToSymbolTable)
  437        << binary_le(CP.Obj.Header.NumberOfSymbols);
  439     OS << binary_le(CP.Obj.Header.Machine)
  440        << binary_le(static_cast<int16_t>(CP.Obj.Header.NumberOfSections))
  441        << binary_le(CP.Obj.Header.TimeDateStamp)
  442        << binary_le(CP.Obj.Header.PointerToSymbolTable)
  443        << binary_le(CP.Obj.Header.NumberOfSymbols)
  444        << binary_le(CP.Obj.Header.SizeOfOptionalHeader)
  445        << binary_le(CP.Obj.Header.Characteristics);
  447   if (CP.isPE()) {
  448     if (CP.is64Bit()) {
  450       initializeOptionalHeader(CP, COFF::PE32Header::PE32_PLUS, &PEH);
  455           initializeOptionalHeader(CP, COFF::PE32Header::PE32, &PEH);
  460          CP.Obj.OptionalHeader->DataDirectories) {
  473   assert(OS.tell() == CP.SectionTableStart);
  475   for (std::vector<COFFYAML::Section>::iterator i = CP.Obj.Sections.begin(),
  476                                                 e = CP.Obj.Sections.end();
  489   assert(OS.tell() == CP.SectionTableStart + CP.SectionTableSize);
  489   assert(OS.tell() == CP.SectionTableStart + CP.SectionTableSize);
  493   for (std::vector<COFFYAML::Symbol>::iterator I = CP.Obj.Symbols.begin(),
  494                                                E = CP.Obj.Symbols.end();
  501   for (const COFFYAML::Section &S : CP.Obj.Sections) {
  526   for (std::vector<COFFYAML::Symbol>::const_iterator i = CP.Obj.Symbols.begin(),
  527                                                      e = CP.Obj.Symbols.end();
  531     if (CP.useBigObj())
  544       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  552       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  558       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  561       unsigned SymbolSize = CP.getSymbolSize();
  578       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  584       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  589   if (CP.Obj.Header.PointerToSymbolTable)
  590     OS.write(&CP.StringTable[0], CP.StringTable.size());
  590     OS.write(&CP.StringTable[0], CP.StringTable.size());