Searched refs:dylib_command (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.def | 32 HANDLE_LOAD_COMMAND(LC_LOAD_DYLIB, 0x0000000Cu, dylib_command) 33 HANDLE_LOAD_COMMAND(LC_ID_DYLIB, 0x0000000Du, dylib_command) 48 HANDLE_LOAD_COMMAND(LC_LOAD_WEAK_DYLIB, 0x80000018u, dylib_command) 55 HANDLE_LOAD_COMMAND(LC_REEXPORT_DYLIB, 0x8000001Fu, dylib_command) 56 HANDLE_LOAD_COMMAND(LC_LAZY_LOAD_DYLIB, 0x00000020u, dylib_command) 60 HANDLE_LOAD_COMMAND(LC_LOAD_UPWARD_DYLIB, 0x80000023u, dylib_command) 83 LOAD_COMMAND_STRUCT(dylib_command)
|
| H A D | MachO.h | 617 struct dylib_command { struct 1127 inline void swapStruct(dylib_command &d) { in swapStruct()
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileBinaryWriter.cpp | 398 size += sizeof(dylib_command) + pointerAlign(_file.installName.size() + 1); in loadCommandsSize() 441 size += sizeof(dylib_command) + pointerAlign(dep.path.size()+1); in loadCommandsSize() 834 dylib_command *dc = reinterpret_cast<dylib_command*>(lc); in writeLoadCommands() 836 uint32_t size = sizeof(dylib_command) + pointerAlign(path.size() + 1); in writeLoadCommands() 839 dc->dylib.name = sizeof(dylib_command); // offset in writeLoadCommands() 846 memcpy(lc + sizeof(dylib_command), path.begin(), path.size()); in writeLoadCommands() 847 lc[sizeof(dylib_command) + path.size()] = '\0'; in writeLoadCommands() 962 dylib_command* dc = reinterpret_cast<dylib_command*>(lc); in writeLoadCommands() 966 dc->dylib.name = sizeof(dylib_command); // offset in writeLoadCommands() 973 memcpy(lc+sizeof(dylib_command), dep.path.begin(), dep.path.size()); in writeLoadCommands() [all …]
|
| H A D | MachONormalizedFileBinaryReader.cpp | 444 const dylib_command *dl = reinterpret_cast<const dylib_command*>(lc); in readBinary() 462 const dylib_command *dl = reinterpret_cast<const dylib_command*>(lc); in readBinary()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 284 const dylib_command *dylib_lc = (const dylib_command *)lc; in IsModuleInstrumented()
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 327 return alignTo(sizeof(dylib_command) + path.size() + 1, 8); in getSize() 331 auto *c = reinterpret_cast<dylib_command *>(buf); in writeTo() 332 buf += sizeof(dylib_command); in writeTo() 336 c->dylib.name = sizeof(dylib_command); in writeTo()
|
| H A D | InputFiles.cpp | 980 auto *c = reinterpret_cast<const dylib_command *>(cmd); in DylibFile() 1038 const auto *c = reinterpret_cast<const dylib_command *>(cmd); in parseLoadCommands() 1049 const auto *c = reinterpret_cast<const dylib_command *>(cmd); in parseLoadCommands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 219 void mapLoadCommandData<MachO::dylib_command>( in mapLoadCommandData() 329 void MappingTraits<MachO::dylib_command>::mapping( in mapping() 330 IO &IO, MachO::dylib_command &LoadCommand) { in mapping()
|
| H A D | MachOEmitter.cpp | 166 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOObjcopy.cpp | 202 updateLoadCommandPayloadString<MachO::dylib_command>( in processLoadCommands() 222 updateLoadCommandPayloadString<MachO::dylib_command>(LC, in processLoadCommands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 731 if (Load.C.cmdsize < sizeof(MachO::dylib_command)) in checkDylibCommand() 734 auto CommandOrErr = getStructOrErr<MachO::dylib_command>(Obj, Load.Ptr); in checkDylibCommand() 737 MachO::dylib_command D = CommandOrErr.get(); in checkDylibCommand() 738 if (D.dylib.name < sizeof(MachO::dylib_command)) in checkDylibCommand() 2463 getStructOrErr<MachO::dylib_command>(*this, Libraries[i]); in getLibraryShortNameByIndex() 2466 MachO::dylib_command D = CommandOrErr.get(); in getLibraryShortNameByIndex() 4343 MachO::dylib_command 4345 return getStruct<MachO::dylib_command>(*this, L.Ptr); in getDylibIDLoadCommand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachO.h | 511 MachO::dylib_command
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 712 MachO::dylib_command Dl = Obj->getDylibIDLoadCommand(Command); in printNeededLibraries()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 1191 MachO::dylib_command dl = O->getDylibIDLoadCommand(Load); in PrintDylibs() 9997 static void PrintDylibCommand(MachO::dylib_command dl, const char *Ptr) { in PrintDylibCommand() 10013 if (dl.cmdsize < sizeof(struct MachO::dylib_command)) in PrintDylibCommand() 10192 MachO::dylib_command Dl = Obj->getDylibIDLoadCommand(Command); in PrintLoadCommands()
|