Home
last modified time | relevance | path

Searched refs:segment_command (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/lld/MachO/
H A DTarget.h136 using segment_command = llvm::MachO::segment_command_64; member
152 using segment_command = llvm::MachO::segment_command; member
H A DObjC.cpp32 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in objectHasObjCSection()
H A DWriter.cpp227 return sizeof(typename LP::segment_command) + in getSize()
232 using SegmentCommand = typename LP::segment_command; in writeTo()
H A DInputFiles.cpp1063 using SegmentCommand = typename LP::segment_command; in parse()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMachO.def15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
102 LOAD_COMMAND_STRUCT(segment_command)
H A DMachO.h537 struct segment_command { struct
1098 inline void swapStruct(segment_command &seg) { in swapStruct()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp32 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 DMachOReader.cpp131 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands()
136 extractSections<MachO::section, MachO::segment_command>( in readLoadCommands()
H A DMachOObject.cpp189 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
H A DMachOWriter.cpp164 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 DMachOUtils.cpp123 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 DMachOYAML.cpp212 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 DMachOEmitter.cpp127 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/llvm-project-15.0.7/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c159 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 Dsanitizer_procmaps_mac.cpp407 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp215 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 Dllvm-gsymutil.cpp214 MachO::segment_command SLC = MachO->getSegmentLoadCommand(Command); in getImageBaseAddress()
/llvm-project-15.0.7/llvm/tools/llvm-size/
H A Dllvm-size.cpp246 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 DMachObjectWriter.cpp188 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 DMachORewriteInstance.cpp211 MachO::segment_command LCSeg = O.getSegmentLoadCommand(LC); in readStartAddress()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp103 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 DMachO.h624 MachO::segment_command
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp322 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 DMachODumper.cpp375 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm817 struct segment_command seg;
818 if (ReadMemory(load_cmds_p, sizeof(struct segment_command), &seg) !=
819 sizeof(struct segment_command)) {

12