Lines Matching refs:ValidReloc
633 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in hasValidRelocationAt() local
634 const auto &Mapping = ValidReloc.Mapping->getValue(); in hasValidRelocationAt()
640 outs() << "Found valid debug map entry: " << ValidReloc.Mapping->getKey() in hasValidRelocationAt()
645 Info.AddrAdjust = BinaryAddress + ValidReloc.Addend; in hasValidRelocationAt()
679 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in applyValidRelocs() local
680 assert(ValidReloc.Offset - BaseOffset < Data.size()); in applyValidRelocs()
681 assert(ValidReloc.Offset - BaseOffset + ValidReloc.Size <= Data.size()); in applyValidRelocs()
683 uint64_t Value = ValidReloc.Mapping->getValue().BinaryAddress; in applyValidRelocs()
684 Value += ValidReloc.Addend; in applyValidRelocs()
685 for (unsigned I = 0; I != ValidReloc.Size; ++I) { in applyValidRelocs()
686 unsigned Index = IsLittleEndian ? I : (ValidReloc.Size - I - 1); in applyValidRelocs()
689 assert(ValidReloc.Size <= sizeof(Buf)); in applyValidRelocs()
690 memcpy(&Data[ValidReloc.Offset - BaseOffset], Buf, ValidReloc.Size); in applyValidRelocs()