Home
last modified time | relevance | path

Searched refs:section_64 (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c227 struct section_64 sect; in scan_macho_load_commands()
228 memset(&sect, 0, sizeof(struct section_64)); in scan_macho_load_commands()
229 memcpy(&sect, offset, sizeof(struct section_64)); in scan_macho_load_commands()
242 struct section_64 sect; in scan_macho_load_commands()
243 memset(&sect, 0, sizeof(struct section_64)); in scan_macho_load_commands()
244 memcpy(&sect, offset, sizeof(struct section_64)); in scan_macho_load_commands()
255 struct section_64 sect; in scan_macho_load_commands()
256 memset(&sect, 0, sizeof(struct section_64)); in scan_macho_load_commands()
257 memcpy(&sect, offset, sizeof(struct section_64)); in scan_macho_load_commands()
268 offset += sizeof(struct section_64); in scan_macho_load_commands()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryReader.cpp287 const section_64 *sects = reinterpret_cast<const section_64*> in readBinary()
290 + sectionCount*sizeof(section_64); in readBinary()
295 const section_64 *sect = &sects[i]; in readBinary()
H A DMachONormalizedFileBinaryWriter.cpp157 typedef llvm::MachO::section_64 section;
264 const size_t sectsSize = (_is64 ? sizeof(section_64) : sizeof(section)); in MachOFileLayout()
388 const size_t sectionSize = (_is64 ? sizeof(section_64) : sizeof(section)); in loadCommandsSize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h321 template <> struct MappingTraits<MachO::section_64> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
322 static void mapping(IO &IO, MachO::section_64 &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DTarget.h109 using section = llvm::MachO::section_64;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp53 Section constructSection(const MachO::section_64 &Sec, uint32_t Index) { in constructSection()
135 extractSections<MachO::section_64, MachO::segment_command_64>( in readLoadCommands()
H A DMachOLayoutBuilder.cpp37 sizeof(MachO::section_64) * LC.Sections.size(); in computeSizeOfCmds()
202 sizeof(MachO::section_64) * LC.Sections.size(); in layoutSegments()
H A DMachOWriter.cpp198 writeSectionInLoadCommand<MachO::section_64>(*Sec, Begin); in writeLoadCommands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp145 auto TempSec = constructSection<MachO::section_64>(Sec); in writeLoadCommandData()
150 sizeof(MachO::section_64)); in writeLoadCommandData()
151 BytesWritten += sizeof(MachO::section_64); in writeLoadCommandData()
H A DMachOYAML.cpp471 void MappingTraits<MachO::section_64>::mapping(IO &IO, in mapping()
472 MachO::section_64 &Section) { in mapping()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp100 unsigned SectionSize = Is64 ? sizeof(MachO::section_64) : in getSectionPtr()
178 MachO::section_64 Sect = O.getSection64(Sec); in getSectionFlags()
1393 MachO::section_64>( in MachOObjectFile()
1936 MachO::section_64 Sect = getSection64(Sec); in getSectionSize()
1967 MachO::section_64 Sect = getSection64(Sec); in getSectionContents()
1982 MachO::section_64 Sect = getSection64(Sec); in getSectionAlignment()
2086 MachO::section_64 Sect = getSection64(Sec); in section_rel_end()
4274 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const { in getSection64()
4276 return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]); in getSection64()
4288 return getStruct<MachO::section_64>(*this, Sec); in getSection64()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp189 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
256 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
770 sizeof(MachO::segment_command_64) + NumSections * sizeof(MachO::section_64): in writeObject()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h489 MachO::section_64 getSection64(DataRefImpl DRI) const;
491 MachO::section_64 getSection64(const LoadCommandInfo &L,unsigned Index) const;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp77 NextSectionLoad<struct section_64>(module, data_, IsWritable()); in AddAddressRanges()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp230 MachO::section_64 Sec = MachO->getSection64(Load, J); in printDarwinSectionSizes()
292 MachO::section_64 Sec = MachO->getSection64(Load, J); in printDarwinSegmentSizes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp131 const MachO::section_64 &Sec64 = in createNormalizedSections()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h577 struct section_64 { struct
1088 inline void swapStruct(section_64 &sect) { in swapStruct()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp668 MachO::section_64 Sec = O->getSection64(Load, J); in PrintIndirectSymbols()
1004 const MachO::section_64 Sec = O->getSection64(Load, J); in PrintRelocations()
1432 const MachO::section_64 Sec = O->getSection64(Ref); in DumpLiteralPointerSection()
1522 const MachO::section_64 Sec = O->getSection64(Ref); in DumpLiteralPointerSection()
1743 const MachO::section_64 Sec = O->getSection64(Ref); in DumpSectionContents()
3008 MachO::section_64 Sec = info->O->getSection64(Load, J); in GuessCstringPointer()
3064 MachO::section_64 Sec = info->O->getSection64(Load, J); in GuessIndirectSymbol()
3215 MachO::section_64 Sec = info->O->getSection64(Load, J); in GuessPointerPointer()
8564 expected_cmdsize *= sizeof(struct MachO::section_64); in PrintSegmentCommand()
10104 MachO::section_64 S_64 = Obj->getSection64(Command, j); in PrintLoadCommands()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp344 MachO::section_64 Sect = Obj->getSection64(Sec); in getSection()