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

References

lib/BinaryFormat/Magic.cpp
  199               StringRef(COFF::PEMagic, sizeof(COFF::PEMagic))))
  199               StringRef(COFF::PEMagic, sizeof(COFF::PEMagic))))
lib/Object/COFFObjectFile.cpp
  685   if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) {
  692       if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) {
  692       if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) {
  696       CurPtr += sizeof(COFF::PEMagic); // Skip the PE magic bytes.
lib/ObjectYAML/COFFEmitter.cpp
  213     CP.SectionTableStart += DOSStubSize + sizeof(COFF::PEMagic);
  424     OS.write(COFF::PEMagic, sizeof(COFF::PEMagic));
  424     OS.write(COFF::PEMagic, sizeof(COFF::PEMagic));
tools/lld/COFF/Writer.cpp
 1213   sizeOfHeaders = dosStubSize + sizeof(PEMagic) + sizeof(coff_file_header) +
 1287   memcpy(buf, PEMagic, sizeof(PEMagic));
 1287   memcpy(buf, PEMagic, sizeof(PEMagic));
 1288   buf += sizeof(PEMagic);
 1805   buf += dosStubSize + sizeof(PEMagic);
tools/llvm-objcopy/COFF/Writer.cpp
  175     SizeOfHeaders += Obj.DosHeader.AddressOfNewExeHeader + sizeof(PEMagic);
  242     memcpy(Ptr, PEMagic, sizeof(PEMagic));
  242     memcpy(Ptr, PEMagic, sizeof(PEMagic));
  243     Ptr += sizeof(PEMagic);