reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  926     RECopy.Addend += SymInfo.getOffset();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  930   return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
 1331           Reloc.Addend += Addend;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  120       Value.Offset = SymInfo.getOffset() + RE.Addend;
  123       Value.Offset = RE.Addend;
  134     Value.Offset = RE.Addend - Addr;
  157          << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
  145                     RE.Addend);
  159           Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) -
  175       Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset;
  199       assert(static_cast<uint64_t>(RE.Addend) <= UINT32_MAX &&
  203                         << RE.Addend << '\n');
  204       writeBytesUnaligned(RE.Addend, Target, 4);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
  189               : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend);
  204                         Sections[0].getLoadAddress() + RE.Addend;
  226       assert(static_cast<uint64_t>(RE.Addend) <= UINT32_MAX &&
  229                         << " RelType: IMAGE_REL_ARM_SECREL Value: " << RE.Addend
  231       writeBytesUnaligned(RE.Addend, Target, 2);
  236           Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend);
  265           RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
  266       assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX &&
  268       assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN &&
  280           RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
  281       assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX &&
  283       assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN &&
  295           RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
  296       assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX &&
  298       assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN &&
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  103       uint64_t Result = Value + RE.Addend;
  120         write32BitOffset(Target, RE.Addend, Value - ImageBase);
  126       writeBytesUnaligned(Value + RE.Addend, Target, 8);
  131       assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow");
  132       assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN && "Relocation underflow");
  133       writeBytesUnaligned(RE.Addend, Target, 4);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
   18     resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend);
   20     resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
   23     resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
  317       RE.Addend = *Addend;
  321     assert((ExplicitAddend == 0 || RE.Addend == 0) && "Relocation has "\
  324       RE.Addend = ExplicitAddend;
  339     RE.Addend = Value.Offset;
  373       encodeAddend(LocalAddress, 1 << RE.Size, RelType, Value + RE.Addend);
  384           RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend);
  384           RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend);
  393       int64_t PCRelVal = Value - FinalAddress + RE.Addend;
  403         ((Value + RE.Addend) & (-4096)) - (FinalAddress & (-4096));
  411       Value += RE.Addend;
  422       Value = SectionABase - SectionBBase + RE.Addend;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
  162       RE.Addend = *AddendOrErr;
  193       RE.Addend = Value.Offset;
  220       Value += RE.Addend;
  239       writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
  244       Value += RE.Addend;
  264       Value = SectionABase - SectionBBase + RE.Addend;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
   68     RE.Addend = memcpyAddend(RE);
   88     RE.Addend = Value.Offset;
  111       writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
  119       Value = SectionABase - SectionBBase + RE.Addend;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
   51     RE.Addend = memcpyAddend(RE);
   76       RE.Addend = Value.Offset;
  109       writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
  116       Value = SectionABase - SectionBBase + RE.Addend;
  134     Value.Offset -= RE.Addend;
  153                              MachO::X86_64_RELOC_UNSIGNED, RE.Addend, true, 2);