Lines Matching defs:SegIndex

3772 // For use with the SegIndex of a checked Mach-O Rebase entry
3778 // For use with a SegIndex,SegOffset pair from a checked Mach-O Rebase entry
3784 // For use with a SegIndex,SegOffset pair from a checked Mach-O Rebase entry
4326 // For use with the SegIndex of a checked Mach-O Bind entry
4332 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind entry
4338 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind entry
4355 // Build table of sections so SegIndex/SegOffset pairs can be translated.
4384 // For use with a SegIndex, SegOffset, and PointerSize triple in
4387 // Given a SegIndex, SegOffset, and PointerSize, verify a valid section exists
4391 const char *BindRebaseSegInfo::checkSegAndOffsets(int32_t SegIndex,
4396 if (SegIndex == -1)
4398 if (SegIndex >= MaxSegIndex)
4405 if (SI.SegmentIndex != SegIndex)
4422 // For use with the SegIndex of a checked Mach-O Bind or Rebase entry
4424 StringRef BindRebaseSegInfo::segmentName(int32_t SegIndex) {
4426 if (SI.SegmentIndex == SegIndex)
4429 llvm_unreachable("invalid SegIndex");
4432 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4435 int32_t SegIndex, uint64_t SegOffset) {
4437 if (SI.SegmentIndex != SegIndex)
4445 llvm_unreachable("SegIndex and SegOffset not in any section");
4448 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4450 StringRef BindRebaseSegInfo::sectionName(int32_t SegIndex,
4452 return findSection(SegIndex, SegOffset).SectionName;
4455 // For use with a SegIndex,SegOffset pair from a checked Mach-O Bind or Rebase
4457 uint64_t BindRebaseSegInfo::address(uint32_t SegIndex, uint64_t OffsetInSeg) {
4458 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg);