Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp150 MachO::rpath_command RPathLC; in buildRPathLoadCommand()
152 RPathLC.path = sizeof(MachO::rpath_command); in buildRPathLoadCommand()
153 RPathLC.cmdsize = alignTo(sizeof(MachO::rpath_command) + Path.size() + 1, 8); in buildRPathLoadCommand()
155 LC.Payload.assign(RPathLC.cmdsize - sizeof(MachO::rpath_command), 0); in buildRPathLoadCommand()
228 updateLoadCommandPayloadString<MachO::rpath_command>(LC, NewRPath); in processLoadCommands()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.def52 HANDLE_LOAD_COMMAND(LC_RPATH, 0x8000001Cu, rpath_command)
103 LOAD_COMMAND_STRUCT(rpath_command)
H A DMachO.h795 struct rpath_command { struct
1337 inline void swapStruct(rpath_command &r) { in swapStruct()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp241 void mapLoadCommandData<MachO::rpath_command>( in mapLoadCommandData()
492 void MappingTraits<MachO::rpath_command>::mapping( in mapping()
493 IO &IO, MachO::rpath_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp187 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/freebsd/contrib/llvm-project/lld/MachO/
H A DWriter.cpp393 return alignToPowerOf2(sizeof(rpath_command) + path.size() + 1, in getSize()
398 auto *c = reinterpret_cast<rpath_command *>(buf); in writeTo()
399 buf += sizeof(rpath_command); in writeTo()
403 c->path = sizeof(rpath_command); in writeTo()
H A DInputFiles.cpp1721 for (auto *cmd : findCommands<rpath_command>(hdr, LC_RPATH)) { in DylibFile()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp888 if (Load.C.cmdsize < sizeof(MachO::rpath_command)) in checkRpathCommand()
891 auto ROrErr = getStructOrErr<MachO::rpath_command>(Obj, Load.Ptr); in checkRpathCommand()
894 MachO::rpath_command R = ROrErr.get(); in checkRpathCommand()
895 if (R.path < sizeof(MachO::rpath_command)) in checkRpathCommand()
4711 MachO::rpath_command
4713 return getStruct<MachO::rpath_command>(*this, L.Ptr); in getRpathCommand()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h677 MachO::rpath_command
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp8956 static void PrintRpathLoadCommand(MachO::rpath_command rpath, const char *Ptr) { in PrintRpathLoadCommand()
8959 if (rpath.cmdsize < sizeof(struct MachO::rpath_command)) in PrintRpathLoadCommand()
10032 MachO::rpath_command Rpath = Obj->getRpathCommand(Command); in PrintLoadCommands()