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

References

lib/ObjectYAML/COFFEmitter.cpp
  419     OS.write(reinterpret_cast<char *>(&DH), sizeof(DH));
  422     OS.write_zeros(DOSStubSize - sizeof(DH));
  424     OS.write(COFF::PEMagic, sizeof(COFF::PEMagic));
  427     OS << binary_le(static_cast<uint16_t>(COFF::IMAGE_FILE_MACHINE_UNKNOWN))
  433     OS.write(COFF::BigObjMagic, sizeof(COFF::BigObjMagic));
  434     OS << zeros(uint32_t(0)) << zeros(uint32_t(0)) << zeros(uint32_t(0))
  439     OS << binary_le(CP.Obj.Header.Machine)
  451       OS.write(reinterpret_cast<char *>(&PEH), sizeof(PEH));
  457       OS.write(reinterpret_cast<char *>(&PEH), sizeof(PEH));
  462         OS << zeros(uint32_t(0));
  463         OS << zeros(uint32_t(0));
  465         OS << binary_le(DD->RelativeVirtualAddress);
  466         OS << binary_le(DD->Size);
  469     OS << zeros(uint32_t(0));
  470     OS << zeros(uint32_t(0));
  473   assert(OS.tell() == CP.SectionTableStart);
  478     OS.write(i->Header.Name, COFF::NameSize);
  479     OS << binary_le(i->Header.VirtualSize)
  489   assert(OS.tell() == CP.SectionTableStart + CP.SectionTableSize);
  504     assert(S.Header.PointerToRawData >= OS.tell());
  505     OS.write_zeros(S.Header.PointerToRawData - OS.tell());
  505     OS.write_zeros(S.Header.PointerToRawData - OS.tell());
  506     S.SectionData.writeAsBinary(OS);
  508     OS.write_zeros(S.Header.SizeOfRawData - S.SectionData.binary_size());
  519       OS << binary_le(R.VirtualAddress) << binary_le(SymbolTableIndex)
  529     OS.write(i->Header.Name, COFF::NameSize);
  530     OS << binary_le(i->Header.Value);
  532       OS << binary_le(i->Header.SectionNumber);
  534       OS << binary_le(static_cast<int16_t>(i->Header.SectionNumber));
  535     OS << binary_le(i->Header.Type) << binary_le(i->Header.StorageClass)
  539       OS << binary_le(i->FunctionDefinition->TagIndex)
  544       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  547       OS << zeros(i->bfAndefSymbol->unused1)
  552       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  555       OS << binary_le(i->WeakExternal->TagIndex)
  558       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  566       OS.write(i->File.data(), i->File.size());
  567       OS.write_zeros(NumZeros);
  570       OS << binary_le(i->SectionDefinition->Length)
  578       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  581       OS << binary_le(i->CLRToken->AuxType) << zeros(i->CLRToken->unused1)
  584       OS.write_zeros(CP.getSymbolSize() - COFF::Symbol16Size);
  590     OS.write(&CP.StringTable[0], CP.StringTable.size());