Lines Matching refs:ValidReloc
1135 struct ValidReloc { struct in llvm::dsymutil::__anon81c782ce0111::DwarfLinker::RelocationManager
1141 ValidReloc(uint32_t Offset, uint32_t Size, uint64_t Addend, in ValidReloc() function
1145 bool operator<(const ValidReloc &RHS) const { in operator <() argument
1154 std::vector<ValidReloc> ValidRelocs;
2041 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in hasValidRelocation() local
2042 const auto &Mapping = ValidReloc.Mapping->getValue(); in hasValidRelocation()
2046 outs() << "Found valid debug map entry: " << ValidReloc.Mapping->getKey() in hasValidRelocation()
2050 Info.AddrAdjust = int64_t(Mapping.BinaryAddress) + ValidReloc.Addend; in hasValidRelocation()
2630 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in applyValidRelocs() local
2631 assert(ValidReloc.Offset - BaseOffset < Data.size()); in applyValidRelocs()
2632 assert(ValidReloc.Offset - BaseOffset + ValidReloc.Size <= Data.size()); in applyValidRelocs()
2634 uint64_t Value = ValidReloc.Mapping->getValue().BinaryAddress; in applyValidRelocs()
2635 Value += ValidReloc.Addend; in applyValidRelocs()
2636 for (unsigned i = 0; i != ValidReloc.Size; ++i) { in applyValidRelocs()
2637 unsigned Index = isLittleEndian ? i : (ValidReloc.Size - i - 1); in applyValidRelocs()
2640 assert(ValidReloc.Size <= sizeof(Buf)); in applyValidRelocs()
2641 memcpy(&Data[ValidReloc.Offset - BaseOffset], Buf, ValidReloc.Size); in applyValidRelocs()