Lines Matching refs:ValidReloc
1002 struct ValidReloc { struct in llvm::dsymutil::__anon5c7ea04f0111::DwarfLinker
1008 ValidReloc(uint32_t Offset, uint32_t Size, uint64_t Addend, in ValidReloc() argument
1012 bool operator<(const ValidReloc &RHS) const { return Offset < RHS.Offset; } in operator <() argument
1017 std::vector<ValidReloc> ValidRelocs;
1478 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in hasValidRelocation() local
1480 outs() << "Found valid debug map entry: " << ValidReloc.Mapping->getKey() in hasValidRelocation()
1482 ValidReloc.Mapping->getValue().ObjectAddress, in hasValidRelocation()
1483 ValidReloc.Mapping->getValue().BinaryAddress); in hasValidRelocation()
1485 Info.AddrAdjust = int64_t(ValidReloc.Mapping->getValue().BinaryAddress) + in hasValidRelocation()
1486 ValidReloc.Addend - in hasValidRelocation()
1487 ValidReloc.Mapping->getValue().ObjectAddress; in hasValidRelocation()
2016 const auto &ValidReloc = ValidRelocs[NextValidReloc++]; in applyValidRelocs() local
2017 assert(ValidReloc.Offset - BaseOffset < Data.size()); in applyValidRelocs()
2018 assert(ValidReloc.Offset - BaseOffset + ValidReloc.Size <= Data.size()); in applyValidRelocs()
2020 uint64_t Value = ValidReloc.Mapping->getValue().BinaryAddress; in applyValidRelocs()
2021 Value += ValidReloc.Addend; in applyValidRelocs()
2022 for (unsigned i = 0; i != ValidReloc.Size; ++i) { in applyValidRelocs()
2023 unsigned Index = isLittleEndian ? i : (ValidReloc.Size - i - 1); in applyValidRelocs()
2026 assert(ValidReloc.Size <= sizeof(Buf)); in applyValidRelocs()
2027 memcpy(&Data[ValidReloc.Offset - BaseOffset], Buf, ValidReloc.Size); in applyValidRelocs()