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

References

include/llvm/BinaryFormat/MachO.h
 1030   sys::swapByteOrder(mh.sizeofcmds);
lib/Object/MachOObjectFile.cpp
  201   if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds)
  213       Obj.getData().data() + HeaderSize + Obj.getHeader().sizeofcmds)
 1273   SizeOfHeaders += getHeader().sizeofcmds;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  239   StringRef lcRange(lcStart, smh->sizeofcmds);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  598   mh->sizeofcmds = _endOfLoadCommands - _startOfLoadCommands;
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  425     header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
  425     header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
  667       size_to_read = sizeof(llvm::MachO::mach_header) + mh.sizeofcmds;
  670       size_to_read = sizeof(llvm::MachO::mach_header_64) + mh.sizeofcmds;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  427       image_infos[i].header.sizeofcmds =
  430       image_infos[i].header.sizeofcmds = 0;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  801       DataBufferSP load_cmd_data_sp(new DataBufferHeap(header->sizeofcmds, 0));
  807       if (load_cmd_bytes_read == header->sizeofcmds) {
  810         load_command_data->SetData(load_cmd_data_sp, 0, header->sizeofcmds);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
  829           header.sizeofcmds + MachHeaderSizeFromMagic(header.magic);
 1040             m_header.sizeofcmds + MachHeaderSizeFromMagic(m_header.magic);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  146     header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
  146     header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds);
tools/llvm-objcopy/MachO/MachOReader.cpp
   26   O.Header.SizeOfCmds = MachOObj.getHeader().sizeofcmds;
tools/llvm-objdump/MachODump.cpp
10208                     H.sizeofcmds, H.flags, verbose);
tools/llvm-readobj/MachODumper.cpp
  452   W.printNumber("SizeOfLoadCommands", Header.sizeofcmds);
tools/obj2yaml/macho2yaml.cpp
  211   Y->Header.sizeofcmds = Obj.getHeader().sizeofcmds;
unittests/BinaryFormat/MachOTest.cpp
   37       Valid32BitMachO + sizeof(mach_header) + Header->sizeofcmds;