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.h169 using segment_command = llvm::MachO::segment_command_64; member
185 using segment_command = llvm::MachO::segment_command; member
H A DWriter.cpp225 return sizeof(typename LP::segment_command) + in getSize()
230 using SegmentCommand = typename LP::segment_command; in writeTo()
H A DObjC.cpp37 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in objectHasObjCSection()
H A DInputFiles.cpp986 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.h538 struct segment_command { struct
1210 inline void swapStruct(segment_command &seg) { in swapStruct()
/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.cpp132 LoadCmd.Ptr + offsetof(MachO::segment_command, segname))) == in readLoadCommands()
137 extractSections<MachO::section, MachO::segment_command>( in readLoadCommands()
H A DMachOObject.cpp215 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()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp221 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData()
528 void MappingTraits<MachO::segment_command>::mapping( in mapping()
529 IO &IO, MachO::segment_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp130 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.cpp434 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp245 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes()
314 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSegmentSizes()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp233 sizeof(MachO::segment_command); in writeSegmentLoadCommand()
822 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()
1419 if ((Err = parseSegmentLoadCommand<MachO::segment_command, in MachOObjectFile()
2113 Contents = ::getSegmentContents<MachO::segment_command>(*this, LoadCmd, in getSegmentContents()
2136 return ::getSegmentContents<MachO::segment_command>(*this, LoadCmd); in getSegmentContents()
3257 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in MachOAbstractFixupEntry()
4659 MachO::segment_command
4661 return getStruct<MachO::segment_command>(*this, L.Ptr); in getSegmentLoadCommand()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h661 MachO::segment_command
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp305 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()
683 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols()
1011 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations()
1038 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in PrintFunctionStarts()
1201 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in GetSegmentNames()
3250 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer()
3316 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessIndirectSymbol()
8568 expected_cmdsize += sizeof(struct MachO::segment_command); in PrintSegmentCommand()
10116 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command); in PrintLoadCommands()
10299 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.cpp1248 MachO::segment_command Seg = MachO.getSegmentLoadCommand(Command); in dumpSymbolsFromDLInfoMachO()