Searched refs:LoadCmd (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 27 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, 49 extractSections(const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, 62 memcpy((void *)&(LC.Data.LCStruct##_data), LoadCmd.Ptr, \ 67 processLoadCommandData<MachO::LCStruct>(LC, LoadCmd, *Y.get())) \ 165 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() argument 167 auto End = LoadCmd.Ptr + LoadCmd.C.cmdsize; in extractSections() 169 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections() 197 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData() argument 199 return LoadCmd.Ptr + sizeof(StructType); in processLoadCommandData() 206 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOReader.cpp | 64 extractSections(const object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() argument 67 auto End = LoadCmd.Ptr + LoadCmd.C.cmdsize; in extractSections() 69 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections() 119 for (auto LoadCmd : MachOObj.load_commands()) { in readLoadCommands() local 121 switch (LoadCmd.C.cmd) { in readLoadCommands() 128 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands() 136 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands() 160 memcpy((void *)&(LC.MachOLoadCommand.LCStruct##_data), LoadCmd.Ptr, \ in readLoadCommands() 164 if (LoadCmd.C.cmdsize > sizeof(MachO::LCStruct)) \ in readLoadCommands() 166 reinterpret_cast<uint8_t *>(const_cast<char *>(LoadCmd.Ptr)) + \ in readLoadCommands() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 595 const char **LoadCmd, const char *CmdName, in checkLinkeditDataCommand() argument 601 if (*LoadCmd != nullptr) in checkLinkeditDataCommand() 626 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand() 633 const char **LoadCmd, const char *CmdName, in checkDyldInfoCommand() argument 638 if (*LoadCmd != nullptr) in checkDyldInfoCommand() 725 *LoadCmd = Load.Ptr; in checkDyldInfoCommand() 764 const char **LoadCmd) { in checkDylibIdCommand() argument 768 if (*LoadCmd != nullptr) in checkDylibIdCommand() 774 *LoadCmd = Load.Ptr; in checkDylibIdCommand() 813 const char **LoadCmd, const char *CmdName) { in checkVersCommand() argument [all …]
|