Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp62 const object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections()
65 for (auto Curr = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
67 End = reinterpret_cast<const SectionType *>(LoadCmd.Ptr + in extractSections()
68 LoadCmd.C.cmdsize); in extractSections()
122 for (auto LoadCmd : MachOObj.load_commands()) { in readLoadCommands()
124 switch (LoadCmd.C.cmd) { in readLoadCommands()
129 // LoadCmd.Ptr might not be aligned temporarily as in readLoadCommands()
133 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands()
139 LoadCmd, MachOObj, NextSectionIndex)) in readLoadCommands()
145 // LoadCmd in readLoadCommands()
61 extractSections(const object::MachOObjectFile::LoadCommandInfo & LoadCmd,const object::MachOObjectFile & MachOObj,uint32_t & NextSectionIndex) extractSections() argument
120 for (auto LoadCmd : MachOObj.load_commands()) { readLoadCommands() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp603 const char **LoadCmd, const char *CmdName, in checkLinkeditDataCommand() argument
609 if (*LoadCmd != nullptr) in checkLinkeditDataCommand()
634 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand()
641 const char **LoadCmd, const char *CmdName, in checkDyldInfoCommand() argument
646 if (*LoadCmd != nullptr) in checkDyldInfoCommand()
733 *LoadCmd = Load.Ptr; in checkDyldInfoCommand()
772 const char **LoadCmd) { in checkDylibIdCommand() argument
776 if (*LoadCmd != nullptr) in checkDylibIdCommand()
782 *LoadCmd = Load.Ptr; in checkDylibIdCommand()
821 const char **LoadCmd, const char *CmdName) { in checkVersCommand() argument
[all …]