| /llvm-project-15.0.7/lld/MachO/ |
| H A D | Target.h | 136 using segment_command = llvm::MachO::segment_command_64; member 152 using segment_command = llvm::MachO::segment_command; member
|
| H A D | ObjC.cpp | 32 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in objectHasObjCSection()
|
| H A D | Writer.cpp | 227 return sizeof(typename LP::segment_command) + in getSize() 232 using SegmentCommand = typename LP::segment_command; in writeTo()
|
| H A D | InputFiles.cpp | 1063 using SegmentCommand = typename LP::segment_command; in parse()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.def | 15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command) 102 LOAD_COMMAND_STRUCT(segment_command)
|
| H A D | MachO.h | 537 struct segment_command { struct 1098 inline void swapStruct(segment_command &seg) { in swapStruct()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOLayoutBuilder.cpp | 32 Size += sizeof(MachO::segment_command) + in computeSizeOfCmds() 192 sizeof(MachO::segment_command) + in layoutSegments() 301 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command); in layoutTail()
|
| H A D | MachOReader.cpp | 131 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands() 136 extractSections<MachO::section, MachO::segment_command>( in readLoadCommands()
|
| H A D | MachOObject.cpp | 189 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
|
| H A D | MachOWriter.cpp | 164 memcpy(Begin, &MLC.segment_command_data, sizeof(MachO::segment_command)); in writeLoadCommands() 165 Begin += sizeof(MachO::segment_command); in writeLoadCommands()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 123 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) { in adaptFrom32bits() 229 const MachO::segment_command &Seg, in getSection() 348 return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in segmentLoadCommandSize()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 212 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData() 516 void MappingTraits<MachO::segment_command>::mapping( in mapping() 517 IO &IO, MachO::segment_command &LoadCommand) { in mapping()
|
| H A D | MachOEmitter.cpp | 127 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
|
| /llvm-project-15.0.7/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 159 struct segment_command seg; in scan_macho_load_commands() 160 memcpy(&seg, offset, sizeof(struct segment_command)); in scan_macho_load_commands() 166 offset += sizeof(struct segment_command); in scan_macho_load_commands()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 407 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 215 MachODumper::processLoadCommandData<MachO::segment_command>( in processLoadCommandData() 219 return extractSections<MachO::section, MachO::segment_command>( in processLoadCommandData()
|
| /llvm-project-15.0.7/llvm/tools/llvm-gsymutil/ |
| H A D | llvm-gsymutil.cpp | 214 MachO::segment_command SLC = MachO->getSegmentLoadCommand(Command); in getImageBaseAddress()
|
| /llvm-project-15.0.7/llvm/tools/llvm-size/ |
| H A D | llvm-size.cpp | 246 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes() 315 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSegmentSizes()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 188 sizeof(MachO::segment_command); in writeSegmentLoadCommand() 804 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | MachORewriteInstance.cpp | 211 MachO::segment_command LCSeg = O.getSegmentLoadCommand(LC); in readStartAddress()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 103 sizeof(MachO::segment_command); in getSectionPtr() 1406 if ((Err = parseSegmentLoadCommand<MachO::segment_command, in MachOObjectFile() 2083 Contents = ::getSegmentContents<MachO::segment_command>(*this, LoadCmd, in getSegmentContents() 3201 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in MachOAbstractFixupEntry() 4468 MachO::segment_command 4470 return getStruct<MachO::segment_command>(*this, L.Ptr); in getSegmentLoadCommand()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | MachO.h | 624 MachO::segment_command
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 322 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols() 700 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols() 1028 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations() 1055 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in PrintFunctionStarts() 3050 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer() 3116 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessIndirectSymbol() 8583 expected_cmdsize += sizeof(struct MachO::segment_command); in PrintSegmentCommand() 10121 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command); in PrintLoadCommands() 10297 MachO::segment_command Seg = Obj->getSegmentLoadCommand(Command); in printMachOExportsTrie()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 375 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachProcess.mm | 817 struct segment_command seg; 818 if (ReadMemory(load_cmds_p, sizeof(struct segment_command), &seg) != 819 sizeof(struct segment_command)) {
|