Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DTarget.h108 using segment_command = llvm::MachO::segment_command_64; member
124 using segment_command = llvm::MachO::segment_command; member
H A DObjC.cpp31 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in hasObjCSection()
H A DWriter.cpp224 return sizeof(typename LP::segment_command) + in getSize()
229 using SegmentCommand = typename LP::segment_command; in writeTo()
H A DInputFiles.cpp751 using SegmentCommand = typename LP::segment_command; in parse()
H A DSyntheticSections.cpp734 using SegmentCommand = typename LP::segment_command; in collectDataInCodeEntries()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.def15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
100 LOAD_COMMAND_STRUCT(segment_command)
H A DMachO.h535 struct segment_command { struct
1075 inline void swapStruct(segment_command &seg) { in swapStruct()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryReader.cpp327 const segment_command *seg = in readBinary()
328 reinterpret_cast<const segment_command*>(lc); in readBinary()
331 (lc + sizeof(segment_command)); in readBinary()
332 const unsigned lcSize = sizeof(segment_command) in readBinary()
H A DMachONormalizedFileBinaryWriter.cpp163 typedef llvm::MachO::segment_command command;
263 (_is64 ? sizeof(segment_command_64) : sizeof(segment_command)); in MachOFileLayout()
387 (_is64 ? sizeof(segment_command_64) : sizeof(segment_command)); in loadCommandsSize()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOLayoutBuilder.cpp32 Size += sizeof(MachO::segment_command) + in computeSizeOfCmds()
192 sizeof(MachO::segment_command) + in layoutSegments()
276 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command); in layoutTail()
H A DObject.cpp169 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
H A DMachOWriter.cpp184 memcpy(Begin, &MLC.segment_command_data, sizeof(MachO::segment_command)); in writeLoadCommands()
185 Begin += sizeof(MachO::segment_command); in writeLoadCommands()
H A DMachOReader.cpp127 extractSections<MachO::section, MachO::segment_command>( in readLoadCommands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp207 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData()
487 void MappingTraits<MachO::segment_command>::mapping( in mapping()
488 IO &IO, MachO::segment_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp125 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c202 struct segment_command seg; in scan_macho_load_commands()
203 memcpy(&seg, offset, sizeof(struct segment_command)); in scan_macho_load_commands()
209 offset += sizeof(struct segment_command); in scan_macho_load_commands()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp341 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp186 sizeof(MachO::segment_command); in writeSegmentLoadCommand()
771 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h497 MachO::segment_command
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp99 sizeof(MachO::segment_command); in getSectionPtr()
1398 if ((Err = parseSegmentLoadCommand<MachO::segment_command, in MachOObjectFile()
4308 MachO::segment_command
4310 return getStruct<MachO::segment_command>(*this, L.Ptr); in getSegmentLoadCommand()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp361 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp316 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()
694 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols()
1022 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations()
1049 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in PrintFunctionStarts()
3027 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer()
3093 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessIndirectSymbol()
8560 expected_cmdsize += sizeof(struct MachO::segment_command); in PrintSegmentCommand()
10084 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command); in PrintLoadCommands()
10258 MachO::segment_command Seg = Obj->getSegmentLoadCommand(Command); in printMachOExportsTrie()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1137 MachO::segment_command Seg = MachO.getSegmentLoadCommand(Command); in dumpSymbolsFromDLInfoMachO()