Home
last modified time | relevance | path

Searched refs:SegOffset (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h137 const char* checkSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
142 StringRef sectionName(int32_t SegIndex, uint64_t SegOffset);
143 uint64_t address(uint32_t SegIndex, uint64_t SegOffset);
155 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
547 const char *BindEntryCheckSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
550 return BindRebaseSectionTable->checkSegAndOffsets(SegIndex, SegOffset,
561 uint64_t SegOffset,
565 return BindRebaseSectionTable->checkSegAndOffsets(SegIndex, SegOffset,
578 return BindRebaseSectionTable->sectionName(SegIndex, SegOffset); in BindRebaseSectionName()
583 uint64_t BindRebaseAddress(uint32_t SegIndex, uint64_t SegOffset) const { in BindRebaseAddress() argument
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp150 uint64_t SegOffset = Offset; in layoutSegments() local
163 Sec->Offset = SegOffset + SegFileSize + PaddingSize; in layoutSegments()
171 Sec->Offset = SegOffset + SectOffset; in layoutSegments()
195 MLC.segment_command_data.fileoff = SegOffset; in layoutSegments()
204 MLC.segment_command_64_data.fileoff = SegOffset; in layoutSegments()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp4203 uint64_t SegOffset, in checkSegAndOffsets() argument
4212 uint32_t Start = SegOffset + i * (PointerSize + Skip); in checkSegAndOffsets()
4246 int32_t SegIndex, uint64_t SegOffset) { in findSection() argument
4250 if (SI.OffsetInSegment > SegOffset) in findSection()
4252 if (SegOffset >= (SI.OffsetInSegment + SI.Size)) in findSection()
4262 uint64_t SegOffset) { in sectionName() argument
4263 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp354 uint64_t SegOffset = Addr - BaseAddr - SegmentAddr; in writeSection() local
355 assert(SegOffset <= 0xFFFFU); in writeSection()
356 DataSize = std::min(DataSize, 0x10000U - SegOffset); in writeSection()
357 writeData(0, SegOffset, Data.take_front(DataSize)); in writeSection()