Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/MachO/
H A DTarget.h153 using segment_command = llvm::MachO::segment_command_64; member
169 using segment_command = llvm::MachO::segment_command; member
H A DWriter.cpp226 return sizeof(typename LP::segment_command) + in getSize()
231 using SegmentCommand = typename LP::segment_command; in writeTo()
H A DObjC.cpp38 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in objectHasObjCSection()
H A DInputFiles.cpp988 using SegmentCommand = typename LP::segment_command; in parse()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.def15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
104 LOAD_COMMAND_STRUCT(segment_command)
H A DMachO.h105 // Constant bits for the "flags" field in llvm::MachO::segment_command
495 // Values for segment_command.initprot.
538 struct segment_command {
1210 inline void swapStruct(segment_command &seg) {
544 struct segment_command { global() struct
558 flagssegment_command global() argument
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp33 Size += sizeof(MachO::segment_command) + in computeSizeOfCmds()
193 sizeof(MachO::segment_command) + in layoutSegments()
323 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command); in layoutTail()
H A DMachOReader.cpp130 // MachO::segment_command requires, but the segname char pointer do not in readLoadCommands()
133 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands()
138 extractSections<MachO::section, MachO::segment_command>( in readLoadCommands()
H A DMachOObject.cpp202 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
H A DMachOWriter.cpp165 memcpy(Begin, &MLC.segment_command_data, sizeof(MachO::segment_command)); in writeLoadCommands()
166 Begin += sizeof(MachO::segment_command); in writeLoadCommands()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp223 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData()
527 void MappingTraits<MachO::segment_command>::mapping( in mapping()
528 IO &IO, MachO::segment_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp132 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp414 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp241 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes()
310 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSegmentSizes()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp229 sizeof(MachO::segment_command); in writeSegmentLoadCommand()
817 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp103 sizeof(MachO::segment_command); in getSectionPtr()
1418 if ((Err = parseSegmentLoadCommand<MachO::segment_command, in MachOObjectFile()
2112 Contents = ::getSegmentContents<MachO::segment_command>(*this, LoadCmd, in getSegmentContents()
2135 return ::getSegmentContents<MachO::segment_command>(*this, LoadCmd); in getSegmentContents()
3258 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in MachOAbstractFixupEntry()
4660 MachO::segment_command
4662 return getStruct<MachO::segment_command>(*this, L.Ptr); in getSegmentLoadCommand()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h656 MachO::segment_command
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp309 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()
687 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols()
1015 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations()
1042 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in PrintFunctionStarts()
1205 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in GetSegmentNames()
3246 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer()
3312 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessIndirectSymbol()
8549 expected_cmdsize += sizeof(struct MachO::segment_command); in PrintSegmentCommand()
10097 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command); in PrintLoadCommands()
10280 MachO::segment_command Seg = Obj->getSegmentLoadCommand(Command); in printMachOExportsTrie()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp374 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1246 MachO::segment_command Seg = MachO.getSegmentLoadCommand(Command); in dumpSymbolsFromDLInfoMachO()