Home
last modified time | relevance | path

Searched refs:r_addend (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/llvm/include/llvm/MC/
H A DMCELFExtras.h39 (Addend != uint(CR.r_addend) ? 4 : 0); in encodeCrel()
56 encodeSLEB128(std::make_signed_t<uint>(CR.r_addend - Addend), OS); in encodeCrel()
57 Addend = CR.r_addend; in encodeCrel()
/llvm-project/lld/test/ELF/
H A Demit-relocs-icf2.s3 ## On RELA targets, r_addend may be updated for --emit-relocs.
H A Dppc32-relocatable-got2.s3 ## If r_addend indicates .got2, adjust it by the local .got2's output section offset.
/llvm-project/llvm/test/CodeGen/AMDGPU/
H A Dgv-offset-folding.ll8 ; which allows you to store the offset in the r_addend of the relocation entry.
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp105 ElfW(Addr) resolver = r->r_addend; in InitShadowGOT()
/llvm-project/llvm/lib/Object/
H A DELF.cpp430 Relas[I++].r_addend = Crel.r_addend; in decodeCrel()
509 R.r_addend = Addend; in android_relas()
756 FunctionOffsetTranslations[Rela.r_offset] = Rela.r_addend; in decodeBBAddrMapImpl()
/llvm-project/lld/ELF/
H A DSyntheticSections.cpp1784 p->r_addend = rel.addend; in updateAllocSize()
1853 // RELOCATION_GROUPED_BY_ADDEND_FLAG are set) the r_addend delta for in updateAllocSize()
1864 // RELOCATION_GROUPED_BY_ADDEND_FLAG is not set) the r_addend delta for in updateAllocSize()
1886 r.r_addend = ctx.arg.isRela ? rel.computeAddend(ctx) : 0; in updateAllocSize()
1928 // For Rela, we also want to sort by r_addend when r_info is the same. This in updateAllocSize()
1929 // enables us to group by r_addend as well. in updateAllocSize()
1933 if (a.r_addend != b.r_addend) in updateAllocSize()
1934 return a.r_addend < b.r_addend; in updateAllocSize()
[all...]
H A DRelocations.h288 crel.r_addend += static_cast<uint>(readSLEB128(p));
337 return rel.r_addend;
341 return rel.r_addend;
H A DInputSection.cpp172 relas[i].r_addend = r.r_addend; in getOffset()
486 p->r_addend = rel.addend; in copyRelocations()
546 p->r_addend = in getAArch64UndefinedRelativeWeakVA()
557 p->r_addend >= 0x8000 && sec->file->ppc32Got2) { in getAArch64UndefinedRelativeWeakVA()
560 // (r_addend>=0x8000), after linking, r30 should be relative to the output in getRISCVUndefinedRelativeWeakVA()
561 // section .got2 . To compensate for the shift, adjust r_addend by in getRISCVUndefinedRelativeWeakVA()
563 p->r_addend += sec->file->ppc32Got2->outSecOff; in getRISCVUndefinedRelativeWeakVA()
H A DMarkLive.cpp86 return rel.r_addend; in getAddend()
93 return rel.r_addend; in resolveReloc()
/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h349 elf_sxword r_addend; ///< Constant part of expression. member
H A DELFHeader.cpp437 if (!GetMaxS64(data, offset, &r_addend, byte_size)) in Parse()
H A DObjectFileELF.cpp207 return llvm::cast<ELFRela *>(rel.reloc)->r_addend; in RelocAddend32()
214 return llvm::cast<ELFRela *>(rel.reloc)->r_addend; in RelocAddend64()
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1418 Elf32_Sword r_addend; // Compute value for relocatable field by adding this
1454 Elf64_Sxword r_addend; // Compute value for relocatable field by adding this.
1472 std::conditional_t<Is64, int64_t, int32_t> r_addend;
1385 Elf32_Sword r_addend; // Compute value for relocatable field by adding this global() member
1421 Elf64_Sxword r_addend; // Compute value for relocatable field by adding this. global() member
1439 std::conditional_t<Is64, int64_t, int32_t> r_addend; global() member
/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp108 Addend = ERela.r_addend; in getRelocationValueString()
112 Addend = ERela->r_addend; in getRelocationValueString()
/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_loongarch.cpp366 int64_t Addend = Rel.r_addend;
H A DELF_x86_64.cpp152 int64_t Addend = Rel.r_addend; in addSingleRelocation()
H A DELF_aarch64.cpp262 int64_t Addend = Rel.r_addend; in addSingleRelocation()
H A DELF_ppc64.cpp264 int64_t Addend = Rel.r_addend; in addSingleRelocation()
H A DELF_riscv.cpp883 int64_t Addend = Rel.r_addend; in addSingleRelocation()
/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h429 Elf_Sword r_addend; // Compute value for relocatable field by adding this
484 Elf_Sxword r_addend; // Compute value for relocatable field by adding this.
495 std::conditional_t<Is64, int64_t, int32_t> r_addend;
H A DELFObjectFile.h1158 return (int64_t)getRela(Rel)->r_addend; in getRelocationAddend()
1160 return (int64_t)getCrel(Rel).r_addend; in getRelocationAddend()
/llvm-project/llvm/test/CodeGen/X86/
H A Dfold-add.ll62 ;; the large r_addend can easily cause a relocation overflow.
/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h422 RelA.r_addend = 0; in FindExceptionTable()
/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp969 Rela.r_addend = Addend;
1651 ToSet = Rela.r_addend;

12