Home
last modified time | relevance | path

Searched refs:LoadCmd (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp28 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd,
55 extractSections(const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd,
68 memcpy((void *)&(LC.Data.LCStruct##_data), LoadCmd.Ptr, \
73 processLoadCommandData<MachO::LCStruct>(LC, LoadCmd, *Y.get())) \
171 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() argument
173 auto End = LoadCmd.Ptr + LoadCmd.C.cmdsize; in extractSections()
175 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType)); in extractSections()
210 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData() argument
212 return LoadCmd.Ptr + sizeof(StructType); in processLoadCommandData()
219 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp61 const object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() argument
64 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
66 End = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
67 LoadCmd.C.cmdsize); in extractSections()
120 for (auto LoadCmd : MachOObj.load_commands()) { in readLoadCommands() local
122 switch (LoadCmd.C.cmd) { in readLoadCommands()
131 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands()
137 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
147 LoadCmd.Ptr + offsetof(MachO::segment_command_64, segname))) == in readLoadCommands()
153 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp598 const char **LoadCmd, const char *CmdName, in checkLinkeditDataCommand() argument
604 if (*LoadCmd != nullptr) in checkLinkeditDataCommand()
629 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand()
636 const char **LoadCmd, const char *CmdName, in checkDyldInfoCommand() argument
641 if (*LoadCmd != nullptr) in checkDyldInfoCommand()
728 *LoadCmd = Load.Ptr; in checkDyldInfoCommand()
767 const char **LoadCmd) { in checkDylibIdCommand() argument
771 if (*LoadCmd != nullptr) in checkDylibIdCommand()
777 *LoadCmd = Load.Ptr; in checkDylibIdCommand()
816 const char **LoadCmd, const char *CmdName) { in checkVersCommand() argument
[all …]