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

References

include/llvm/Object/COFF.h
  769   const coff_file_header *COFFHeader;
  976   const coff_file_header *getCOFFHeader() const { return COFFHeader; }
lib/Object/COFFImportFile.cpp
   60 template <class T> static void append(std::vector<uint8_t> &B, const T &Data) {
   62   B.resize(S + sizeof(T));
   63   memcpy(&B[S], &Data, sizeof(T));
  186   coff_file_header Header{
  208        u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)),
  209        u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) +
  220        u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) +
  325   coff_file_header Header{
  344        u32(sizeof(coff_file_header) +
  386   coff_file_header Header{
  407        u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)),
  420        u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) +
  497   coff_file_header Header{
lib/Object/COFFObjectFile.cpp
   57 static std::error_code getObject(const T *&Obj, MemoryBufferRef M,
   59                                  const uint64_t Size = sizeof(T)) {
  674   if (!checkSize(Data, EC, sizeof(coff_file_header)))
  727     CurPtr += sizeof(coff_file_header);
lib/Object/WindowsResource.cpp
  730   auto *Header = reinterpret_cast<coff_file_header *>(BufferStart);
  744   CurrentOffset += sizeof(coff_file_header);
tools/lld/COFF/Writer.cpp
 1213   sizeOfHeaders = dosStubSize + sizeof(PEMagic) + sizeof(coff_file_header) +
 1291   auto *coff = reinterpret_cast<coff_file_header *>(buf);
 1806   object::coff_file_header *coffHeader =
tools/llvm-objcopy/COFF/Object.h
  101   object::coff_file_header CoffFileHeader;
tools/llvm-objcopy/COFF/Reader.cpp
  197   if (const coff_file_header *CFH = COFFObj.getCOFFHeader()) {
tools/llvm-objcopy/COFF/Writer.cpp
  186       IsBigObj ? sizeof(coff_bigobj_file_header) : sizeof(coff_file_header);