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

References

tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  776      if (auto ec = writeSingleSegmentLoadCommand<MachO64Trait>(lc))
  779       if (auto ec = writeSingleSegmentLoadCommand<MachO32Trait>(lc))
  783     symtab_command* st = reinterpret_cast<symtab_command*>(lc);
  793     lc += sizeof(symtab_command);
  797     writeVersionMinLoadCommand(_file, _swap, lc);
  801       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
  808       lc += sizeof(linkedit_data_command);
  813       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
  820       lc += sizeof(linkedit_data_command);
  825       if (auto ec = writeSegmentLoadCommands<MachO64Trait>(lc))
  828       if (auto ec = writeSegmentLoadCommands<MachO32Trait>(lc))
  834       dylib_command *dc = reinterpret_cast<dylib_command*>(lc);
  846       memcpy(lc + sizeof(dylib_command), path.begin(), path.size());
  847       lc[sizeof(dylib_command) + path.size()] = '\0';
  848       lc += size;
  852     dyld_info_command* di = reinterpret_cast<dyld_info_command*>(lc);
  867     lc += sizeof(dyld_info_command);
  870     symtab_command* st = reinterpret_cast<symtab_command*>(lc);
  880     lc += sizeof(symtab_command);
  884       dysymtab_command* dst = reinterpret_cast<dysymtab_command*>(lc);
  908       lc += sizeof(dysymtab_command);
  915       dylinker_command* dl = reinterpret_cast<dylinker_command*>(lc);
  921       memcpy(lc+sizeof(dylinker_command), dyldPath().data(), dyldPath().size());
  922       lc[sizeof(dylinker_command)+dyldPath().size()] = '\0';
  923       lc += size;
  928     writeVersionMinLoadCommand(_file, _swap, lc);
  940       memcpy(lc, &sv, sizeof(source_version_command));
  941       lc += sizeof(source_version_command);
  956       memcpy(lc, &ep, sizeof(entry_point_command));
  957       lc += sizeof(entry_point_command);
  962       dylib_command* dc = reinterpret_cast<dylib_command*>(lc);
  973       memcpy(lc+sizeof(dylib_command), dep.path.begin(), dep.path.size());
  974       lc[sizeof(dylib_command)+dep.path.size()] = '\0';
  975       lc += size;
  980       rpath_command *rpc = reinterpret_cast<rpath_command *>(lc);
  987       memcpy(lc+sizeof(rpath_command), path.begin(), path.size());
  988       lc[sizeof(rpath_command)+path.size()] = '\0';
  989       lc += size;
  994       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
 1001       lc += sizeof(linkedit_data_command);
 1006       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
 1013       lc += sizeof(linkedit_data_command);
 1016   assert(lc == &_buffer[_endOfLoadCommands]);