Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h136 const char* checkSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
141 StringRef sectionName(int32_t SegIndex, uint64_t SegOffset);
142 uint64_t address(uint32_t SegIndex, uint64_t SegOffset);
154 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
420 const char *BindEntryCheckSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
423 return BindRebaseSectionTable->checkSegAndOffsets(SegIndex, SegOffset,
434 uint64_t SegOffset,
438 return BindRebaseSectionTable->checkSegAndOffsets(SegIndex, SegOffset,
451 return BindRebaseSectionTable->sectionName(SegIndex, SegOffset); in BindRebaseSectionName()
456 uint64_t BindRebaseAddress(uint32_t SegIndex, uint64_t SegOffset) const { in BindRebaseAddress() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp4053 uint64_t SegOffset, in checkSegAndOffsets() argument
4062 uint32_t Start = SegOffset + i * (PointerSize + Skip); in checkSegAndOffsets()
4096 int32_t SegIndex, uint64_t SegOffset) { in findSection() argument
4100 if (SI.OffsetInSegment > SegOffset) in findSection()
4102 if (SegOffset >= (SI.OffsetInSegment + SI.Size)) in findSection()
4112 uint64_t SegOffset) { in sectionName() argument
4113 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.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()