Home
last modified time | relevance | path

Searched refs:rpath_command (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp139 MachO::rpath_command RPathLC; in buildRPathLoadCommand()
141 RPathLC.path = sizeof(MachO::rpath_command); in buildRPathLoadCommand()
142 RPathLC.cmdsize = alignTo(sizeof(MachO::rpath_command) + Path.size() + 1, 8); in buildRPathLoadCommand()
144 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0); in buildRPathLoadCommand()
217 updateLoadCommandPayloadString<MachO::rpath_command>(LC, NewRPath); in processLoadCommands()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMachO.def52 HANDLE_LOAD_COMMAND(LC_RPATH, 0x8000001Cu, rpath_command)
101 LOAD_COMMAND_STRUCT(rpath_command)
H A DMachO.h794 struct rpath_command { struct
1225 inline void swapStruct(rpath_command &r) { in swapStruct()
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp390 return alignTo(sizeof(rpath_command) + path.size() + 1, target->wordSize); in getSize()
394 auto *c = reinterpret_cast<rpath_command *>(buf); in writeTo()
395 buf += sizeof(rpath_command); in writeTo()
399 c->path = sizeof(rpath_command); in writeTo()
H A DInputFiles.cpp1786 for (auto *cmd : findCommands<rpath_command>(hdr, LC_RPATH)) { in DylibFile()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp230 void mapLoadCommandData<MachO::rpath_command>( in mapLoadCommandData()
481 void MappingTraits<MachO::rpath_command>::mapping( in mapping()
482 IO &IO, MachO::rpath_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp182 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp264 MachODumper::processLoadCommandData<MachO::rpath_command>( in processLoadCommandData()
268 return readString<MachO::rpath_command>(LC, LoadCmd); in processLoadCommandData()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp883 if (Load.C.cmdsize < sizeof(MachO::rpath_command)) in checkRpathCommand()
886 auto ROrErr = getStructOrErr<MachO::rpath_command>(Obj, Load.Ptr); in checkRpathCommand()
889 MachO::rpath_command R = ROrErr.get(); in checkRpathCommand()
890 if (R.path < sizeof(MachO::rpath_command)) in checkRpathCommand()
4523 MachO::rpath_command
4525 return getStruct<MachO::rpath_command>(*this, L.Ptr); in getRpathCommand()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h646 MachO::rpath_command
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp9094 static void PrintRpathLoadCommand(MachO::rpath_command rpath, const char *Ptr) { in PrintRpathLoadCommand()
9097 if (rpath.cmdsize < sizeof(struct MachO::rpath_command)) in PrintRpathLoadCommand()
10168 MachO::rpath_command Rpath = Obj->getRpathCommand(Command); in PrintLoadCommands()