Lines Matching defs:SegIndex

3770 // For use with the SegIndex of a checked Mach-O Rebase entry
3776 // For use with a SegIndex,SegOffset pair from a checked Mach-O Rebase entry
3782 // For use with a SegIndex,SegOffset pair from a checked Mach-O Rebase entry
4324 // For use with the SegIndex of a checked Mach-O Bind entry
4330 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind entry
4336 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind entry
4353 // Build table of sections so SegIndex/SegOffset pairs can be translated.
4382 // For use with a SegIndex, SegOffset, and PointerSize triple in
4385 // Given a SegIndex, SegOffset, and PointerSize, verify a valid section exists
4389 const char *BindRebaseSegInfo::checkSegAndOffsets(int32_t SegIndex,
4394 if (SegIndex == -1)
4396 if (SegIndex >= MaxSegIndex)
4403 if (SI.SegmentIndex != SegIndex)
4420 // For use with the SegIndex of a checked Mach-O Bind or Rebase entry
4422 StringRef BindRebaseSegInfo::segmentName(int32_t SegIndex) {
4424 if (SI.SegmentIndex == SegIndex)
4427 llvm_unreachable("invalid SegIndex");
4430 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4433 int32_t SegIndex, uint64_t SegOffset) {
4435 if (SI.SegmentIndex != SegIndex)
4443 llvm_unreachable("SegIndex and SegOffset not in any section");
4446 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4448 StringRef BindRebaseSegInfo::sectionName(int32_t SegIndex,
4450 return findSection(SegIndex, SegOffset).SectionName;
4453 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4455 uint64_t BindRebaseSegInfo::address(uint32_t SegIndex, uint64_t OffsetInSeg) {
4456 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg);