Home
last modified time | relevance | path

Searched refs:linkedit_data_command (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.def53 HANDLE_LOAD_COMMAND(LC_CODE_SIGNATURE, 0x0000001Du, linkedit_data_command)
54 HANDLE_LOAD_COMMAND(LC_SEGMENT_SPLIT_INFO, 0x0000001Eu, linkedit_data_command)
63 HANDLE_LOAD_COMMAND(LC_FUNCTION_STARTS, 0x00000026u, linkedit_data_command)
66 HANDLE_LOAD_COMMAND(LC_DATA_IN_CODE, 0x00000029u, linkedit_data_command)
68 HANDLE_LOAD_COMMAND(LC_DYLIB_CODE_SIGN_DRS, 0x0000002Bu, linkedit_data_command)
72 HANDLE_LOAD_COMMAND(LC_LINKER_OPTIMIZATION_HINT, 0x0000002Eu, linkedit_data_command)
92 LOAD_COMMAND_STRUCT(linkedit_data_command)
H A DMachO.h798 struct linkedit_data_command { struct
1283 inline void swapStruct(linkedit_data_command &C) { in swapStruct()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp453 size += sizeof(linkedit_data_command); in loadCommandsSize()
460 size += sizeof(linkedit_data_command); in loadCommandsSize()
801 linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc); in writeLoadCommands()
803 dl->cmdsize = sizeof(linkedit_data_command); in writeLoadCommands()
808 lc += sizeof(linkedit_data_command); in writeLoadCommands()
813 linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc); in writeLoadCommands()
820 lc += sizeof(linkedit_data_command); in writeLoadCommands()
994 linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc); in writeLoadCommands()
1001 lc += sizeof(linkedit_data_command); in writeLoadCommands()
1006 linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc); in writeLoadCommands()
[all …]
H A DMachONormalizedFileBinaryReader.cpp451 const linkedit_data_command *ldc = in readBinary()
452 reinterpret_cast<const linkedit_data_command*>(lc); in readBinary()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.cpp92 const MachO::linkedit_data_command &LinkEditDataCommand = in totalSize()
101 const MachO::linkedit_data_command &LinkEditDataCommand = in totalSize()
111 const MachO::linkedit_data_command &LinkEditDataCommand = in totalSize()
121 const MachO::linkedit_data_command &LinkEditDataCommand = in totalSize()
418 const MachO::linkedit_data_command &LinkEditDataCommand = in writeLinkData()
489 const MachO::linkedit_data_command &LinkEditDataCommand = in writeTail()
499 const MachO::linkedit_data_command &LinkEditDataCommand = in writeTail()
509 const MachO::linkedit_data_command &LinkEditDataCommand = in writeTail()
519 const MachO::linkedit_data_command &LinkEditDataCommand = in writeTail()
H A DMachOReader.cpp268 const MachO::linkedit_data_command &LC = in readLinkData()
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DWriter.cpp158 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize()
161 auto *c = reinterpret_cast<linkedit_data_command *>(buf); in writeTo()
177 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize()
180 auto *c = reinterpret_cast<linkedit_data_command *>(buf); in writeTo()
536 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize()
539 auto *c = reinterpret_cast<linkedit_data_command *>(buf); in writeTo()
H A DInputFiles.cpp832 const auto *c = reinterpret_cast<const linkedit_data_command *>(cmd); in parseDataInCode()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h495 MachO::linkedit_data_command
555 MachO::linkedit_data_command getDataInCodeLoadCommand() const;
556 MachO::linkedit_data_command getLinkOptHintsLoadCommand() const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp597 if (Load.C.cmdsize < sizeof(MachO::linkedit_data_command)) in checkLinkeditDataCommand()
603 getStructOrErr<MachO::linkedit_data_command>(Obj, Load.Ptr); in checkLinkeditDataCommand()
606 MachO::linkedit_data_command LinkData = LinkDataOrError.get(); in checkLinkeditDataCommand()
607 if (LinkData.cmdsize != sizeof(MachO::linkedit_data_command)) in checkLinkeditDataCommand()
4303 MachO::linkedit_data_command
4523 MachO::linkedit_data_command
4529 MachO::linkedit_data_command Cmd; in getDataInCodeLoadCommand()
4531 Cmd.cmdsize = sizeof(MachO::linkedit_data_command); in getDataInCodeLoadCommand()
4537 MachO::linkedit_data_command
4544 MachO::linkedit_data_command Cmd; in getLinkOptHintsLoadCommand()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp414 W.write<uint32_t>(sizeof(MachO::linkedit_data_command)); in writeLinkeditLoadCommand()
418 assert(W.OS.tell() - Start == sizeof(MachO::linkedit_data_command)); in writeLinkeditLoadCommand()
786 LoadCommandsSize += sizeof(MachO::linkedit_data_command); in writeObject()
794 LoadCommandsSize += sizeof(MachO::linkedit_data_command); in writeObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp402 void MappingTraits<MachO::linkedit_data_command>::mapping( in mapping()
403 IO &IO, MachO::linkedit_data_command &LoadCommand) { in mapping()
/freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c376 struct linkedit_data_command function_starts_cmd; in scan_macho_load_commands()
378 sizeof(struct linkedit_data_command)); in scan_macho_load_commands()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp730 MachO::linkedit_data_command LLC = Obj->getLinkeditDataLoadCommand(Load); in printMachODataInCode()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp311 MachO::linkedit_data_command LLC = in getSectionsAndSymbols()
1066 MachO::linkedit_data_command FunctionStartsLC = in PrintFunctionStarts()
1083 MachO::linkedit_data_command DIC = O->getDataInCodeLoadCommand(); in PrintDataInCodeTable()
1125 MachO::linkedit_data_command LohLC = O->getLinkOptHintsLoadCommand(); in PrintLinkOptHints()
10042 static void PrintLinkEditDataCommand(MachO::linkedit_data_command ld, in PrintLinkEditDataCommand()
10059 if (ld.cmdsize != sizeof(struct MachO::linkedit_data_command)) in PrintLinkEditDataCommand()
10200 MachO::linkedit_data_command Ld = in PrintLoadCommands()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1496 MachO::linkedit_data_command LLC = in dumpSymbolsFromDLInfoMachO()