Searched refs:rpath_command (Results 1 – 12 of 12) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOObjcopy.cpp | 132 MachO::rpath_command RPathLC; in buildRPathLoadCommand() 134 RPathLC.path = sizeof(MachO::rpath_command); in buildRPathLoadCommand() 135 RPathLC.cmdsize = alignTo(sizeof(MachO::rpath_command) + Path.size() + 1, 8); in buildRPathLoadCommand() 137 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0); in buildRPathLoadCommand() 210 updateLoadCommandPayloadString<MachO::rpath_command>(LC, NewRPath); in processLoadCommands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.def | 52 HANDLE_LOAD_COMMAND(LC_RPATH, 0x8000001Cu, rpath_command) 99 LOAD_COMMAND_STRUCT(rpath_command)
|
| H A D | MachO.h | 792 struct rpath_command { struct 1202 inline void swapStruct(rpath_command &r) { in swapStruct()
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileBinaryWriter.cpp | 447 size += pointerAlign(sizeof(rpath_command) + path.size() + 1); in loadCommandsSize() 980 rpath_command *rpc = reinterpret_cast<rpath_command *>(lc); in writeLoadCommands() 981 uint32_t size = pointerAlign(sizeof(rpath_command) + path.size() + 1); in writeLoadCommands() 984 rpc->path = sizeof(rpath_command); // offset in writeLoadCommands() 987 memcpy(lc+sizeof(rpath_command), path.begin(), path.size()); in writeLoadCommands() 988 lc[sizeof(rpath_command)+path.size()] = '\0'; in writeLoadCommands()
|
| H A D | MachONormalizedFileBinaryReader.cpp | 472 const rpath_command *rpc = reinterpret_cast<const rpath_command *>(lc); in readBinary()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 386 return alignTo(sizeof(rpath_command) + path.size() + 1, target->wordSize); in getSize() 390 auto *c = reinterpret_cast<rpath_command *>(buf); in writeTo() 391 buf += sizeof(rpath_command); in writeTo() 395 c->path = sizeof(rpath_command); in writeTo()
|
| H A D | InputFiles.cpp | 1003 for (auto *cmd : findCommands<rpath_command>(hdr, LC_RPATH)) { in DylibFile()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 225 void mapLoadCommandData<MachO::rpath_command>( in mapLoadCommandData() 452 void MappingTraits<MachO::rpath_command>::mapping( in mapping() 453 IO &IO, MachO::rpath_command &LoadCommand) { in mapping()
|
| H A D | MachOEmitter.cpp | 180 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 879 if (Load.C.cmdsize < sizeof(MachO::rpath_command)) in checkRpathCommand() 882 auto ROrErr = getStructOrErr<MachO::rpath_command>(Obj, Load.Ptr); in checkRpathCommand() 885 MachO::rpath_command R = ROrErr.get(); in checkRpathCommand() 886 if (R.path < sizeof(MachO::rpath_command)) in checkRpathCommand() 4363 MachO::rpath_command 4365 return getStruct<MachO::rpath_command>(*this, L.Ptr); in getRpathCommand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachO.h | 519 MachO::rpath_command
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 9071 static void PrintRpathLoadCommand(MachO::rpath_command rpath, const char *Ptr) { in PrintRpathLoadCommand() 9074 if (rpath.cmdsize < sizeof(struct MachO::rpath_command)) in PrintRpathLoadCommand() 10131 MachO::rpath_command Rpath = Obj->getRpathCommand(Command); in PrintLoadCommands()
|