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

References

lib/Object/WindowsResource.cpp
  744   CurrentOffset += sizeof(coff_file_header);
  746       reinterpret_cast<coff_section *>(BufferStart + CurrentOffset);
  762   CurrentOffset += sizeof(coff_section);
  764       reinterpret_cast<coff_section *>(BufferStart + CurrentOffset);
  780   CurrentOffset += sizeof(coff_section);
  786   CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT);
  786   CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT);
  792     llvm::copy(RawDataEntry, BufferStart + CurrentOffset);
  793     CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t));
  796   CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT);
  796   CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT);
  802   auto *Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset);
  809   CurrentOffset += sizeof(coff_symbol16);
  812   Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset);
  819   CurrentOffset += sizeof(coff_symbol16);
  821                                                               CurrentOffset);
  828   CurrentOffset += sizeof(coff_aux_section_definition);
  831   Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset);
  838   CurrentOffset += sizeof(coff_symbol16);
  840                                                         CurrentOffset);
  847   CurrentOffset += sizeof(coff_aux_section_definition);
  852     Symbol = reinterpret_cast<coff_symbol16 *>(BufferStart + CurrentOffset);
  859     CurrentOffset += sizeof(coff_symbol16);
  865   auto COFFStringTable = reinterpret_cast<void *>(BufferStart + CurrentOffset);
  885                                                               CurrentOffset);
  894     CurrentOffset += sizeof(coff_resource_dir_table);
  900                                                                 CurrentOffset);
  915       CurrentOffset += sizeof(coff_resource_dir_entry);
  920                                                                 CurrentOffset);
  934       CurrentOffset += sizeof(coff_resource_dir_entry);
  943                                                                CurrentOffset);
  949     CurrentOffset += sizeof(coff_resource_data_entry);
  959     support::endian::write16le(BufferStart + CurrentOffset, Length);
  960     CurrentOffset += sizeof(uint16_t);
  961     auto *Start = reinterpret_cast<UTF16 *>(BufferStart + CurrentOffset);
  963     CurrentOffset += Length * sizeof(UTF16);
  966   CurrentOffset +=
  978         reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset);
  997     CurrentOffset += sizeof(coff_relocation);