Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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 DObjC.cpp33 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.cpp966 using SegmentCommand = typename LP::segment_command; in parse()
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMachO.def15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
103 LOAD_COMMAND_STRUCT(segment_command)
H A DMachO.h542 struct segment_command { struct
1209 inline void swapStruct(segment_command &seg) { in swapStruct()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp32 Size += sizeof(MachO::segment_command) + in computeSizeOfCmds()
192 sizeof(MachO::segment_command) + in layoutSegments()
322 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.cpp201 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()
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DMachOUtils.cpp124 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) { in adaptFrom32bits()
230 const MachO::segment_command &Seg, in getSection()
349 return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in segmentLoadCommandSize()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp222 void mapLoadCommandData<MachO::segment_command>( in mapLoadCommandData()
526 void MappingTraits<MachO::segment_command>::mapping( in mapping()
527 IO &IO, MachO::segment_command &LoadCommand) { in mapping()
H A DMachOEmitter.cpp131 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp407 if (NextSegmentLoad<LC_SEGMENT, struct segment_command>( in Next()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp217 MachODumper::processLoadCommandData<MachO::segment_command>( in processLoadCommandData()
221 return extractSections<MachO::section, MachO::segment_command>( in processLoadCommandData()
/openbsd-src/gnu/llvm/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp215 MachO::segment_command SLC = MachO->getSegmentLoadCommand(Command); in getImageBaseAddress()
/openbsd-src/gnu/llvm/llvm/tools/llvm-size/
H A Dllvm-size.cpp249 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes()
318 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSegmentSizes()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMachObjectWriter.cpp188 sizeof(MachO::segment_command); in writeSegmentLoadCommand()
805 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section); in writeObject()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp103 sizeof(MachO::segment_command); in getSectionPtr()
1411 if ((Err = parseSegmentLoadCommand<MachO::segment_command, in MachOObjectFile()
2105 Contents = ::getSegmentContents<MachO::segment_command>(*this, LoadCmd, in getSegmentContents()
2128 return ::getSegmentContents<MachO::segment_command>(*this, LoadCmd); in getSegmentContents()
3251 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in MachOAbstractFixupEntry()
4649 MachO::segment_command
4651 return getStruct<MachO::segment_command>(*this, L.Ptr); in getSegmentLoadCommand()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMachO.h652 MachO::segment_command
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DMachODump.cpp335 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()
713 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols()
1041 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations()
1068 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in PrintFunctionStarts()
1231 MachO::segment_command SLC = O->getSegmentLoadCommand(Command); in GetSegmentNames()
3284 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer()
3350 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessIndirectSymbol()
8847 expected_cmdsize += sizeof(struct MachO::segment_command); in PrintSegmentCommand()
10393 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command); in PrintLoadCommands()
10569 MachO::segment_command Seg = Obj->getSegmentLoadCommand(Command); in printMachOExportsTrie()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DMachODumper.cpp374 MachO::segment_command SC = Obj->getSegmentLoadCommand(L); in getSegment()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm822 struct segment_command seg;
823 if (ReadMemory(load_cmds_p, sizeof(struct segment_command), &seg) !=
824 sizeof(struct segment_command)) {
/openbsd-src/gnu/llvm/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1225 MachO::segment_command Seg = MachO.getSegmentLoadCommand(Command); in dumpSymbolsFromDLInfoMachO()

12