Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp86 extern __attribute((weak, visibility("hidden"))) ElfW(Rela) __rela_iplt_start[],
98 for (ElfW(Rela) *r = __rela_iplt_start; r != __rela_iplt_end; ++r) { in InitShadowGOT()
/llvm-project-15.0.7/lld/ELF/
H A DMarkLive.cpp84 const typename ELFT::Rela &rel) { in getAddend()
326 for (const typename ELFT::Rela &rel : rels.relas) in mark()
H A DRelocations.h199 static inline int64_t getAddend(const typename ELFT::Rela &rel) { in getAddend()
H A DInputSection.cpp140 ret.relas = makeArrayRef(reinterpret_cast<const typename ELFT::Rela *>( in relsOrRelas()
142 shdr.sh_size / sizeof(typename ELFT::Rela)); in relsOrRelas()
353 auto *p = reinterpret_cast<typename ELFT::Rela *>(buf); in copyRelocations()
1203 copyRelocations<ELFT>(buf, getDataAs<typename ELFT::Rela>()); in writeTo()
1291 SmallVector<typename ELFT::Rela, 0> storage; in split()
H A DInputSection.h38 ArrayRef<typename ELFT::Rela> relas;
H A DSyntheticSections.h558 using Elf_Rela = typename ELFT::Rela;
568 using Elf_Rela = typename ELFT::Rela;
H A DDriver.cpp901 ArrayRef<typename ELFT::Rela> relas = in processCallGraphRelocations()
903 for (const typename ELFT::Rela &rel : relas) in processCallGraphRelocations()
H A DWriter.cpp640 markUsedLocalSymbolsImpl(f, isec->getDataAs<typename ELFT::Rela>()); in markUsedLocalSymbols()
/llvm-project-15.0.7/llvm/lib/MC/
H A DELFObjectWriter.cpp798 bool Rela = usesRela(Sec); in createRelocationSection() local
799 std::string RelaSectionName = Rela ? ".rela" : ".rel"; in createRelocationSection()
803 if (Rela) in createRelocationSection()
813 RelaSectionName, Rela ? ELF::SHT_RELA : ELF::SHT_REL, Flags, EntrySize, in createRelocationSection()
914 const bool Rela = usesRela(Sec); in writeRelocations() local
933 if (Rela) in writeRelocations()
942 if (Rela) in writeRelocations()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DDynamicTags.def51 DYNAMIC_TAG(RELA, 7) // Address of relocation table (Rela entries).
52 DYNAMIC_TAG(RELASZ, 8) // Size of Rela relocation table.
53 DYNAMIC_TAG(RELAENT, 9) // Size of a Rela relocation entry.
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFTypes.h64 using Rela = Elf_Rel_Impl<ELFType<E, Is64>, true>; member
82 using RelaRange = ArrayRef<Rela>;
119 using Elf_Rela = typename ELFT::Rela; \
H A DELFObjectFile.h412 const Elf_Rela *getRela(DataRefImpl Rela) const;
1081 ELFObjectFile<ELFT>::getRela(DataRefImpl Rela) const { in getRela() argument
1082 assert(getRelSection(Rela)->sh_type == ELF::SHT_RELA); in getRela()
1083 auto Ret = EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b); in getRela()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp163 Error addSingleRelocation(const typename ELFT::Rela &Rel, in addSingleRelocation()
H A DELFLinkGraphBuilder.h517 for (const typename ELFT::Rela &R : *RelEntries) in forEachRelocation()
H A DELF_aarch64.cpp139 Error addSingleRelocation(const typename ELFT::Rela &Rel, in addSingleRelocation()
H A DELF_riscv.cpp492 Error addSingleRelocation(const typename ELFT::Rela &Rel, in addSingleRelocation()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DELFDump.cpp74 const typename ELFT::Rela *ERela = Obj->getRela(Rel); in getRelocationValueString()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.h133 using Elf_Rela = typename ELFT::Rela;
152 using Elf_Rela = typename ELFT::Rela;
H A DELFObject.cpp915 static void setAddend(Elf_Rel_Impl<ELFT, true> &Rela, uint64_t Addend) { in setAddend() argument
916 Rela.r_addend = Addend; in setAddend()
1586 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, true> &Rela) { in getAddend() argument
1587 ToSet = Rela.r_addend; in getAddend()
/llvm-project-15.0.7/llvm/lib/Object/
H A DELF.cpp376 Expected<std::vector<typename ELFT::Rela>>
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h419 typename ET::Rela RelA; in FindExceptionTable()
H A DELFDumper.cpp195 Relocation(const typename ELFT::Rela &R, bool IsMips64EL) in Relocation()
3600 Expected<std::vector<typename ELFT::Rela>> RelasOrErr = in printRelocations()
4495 for (const Elf_Rela &Rela : in printDynamicRelocationsHelper()
4497 printDynamicReloc(Relocation<ELFT>(Rela, IsMips64EL)); in printDynamicRelocationsHelper()
4518 for (const Elf_Rela &Rela : in printDynamicRelocationsHelper()
4520 printDynamicReloc(Relocation<ELFT>(Rela, IsMips64EL)); in printDynamicRelocationsHelper()
6997 for (const typename ELFT::Rela &Rela : CGProfileRela) in getSymbolIndices() local
6998 SymbolIndices.push_back(Rela.getSymbol(Obj.isMips64EL())); in getSymbolIndices()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h90 return sizeof(typename ELFT::Rela); in LLVM_YAML_STRONG_TYPEDEF()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DPPC64.cpp286 ArrayRef<typename ELFT::Rela> relas = in getRelaTocSymAndAddend()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp1780 using Elf_Rela = typename ELFT::Rela; in getRelocationAddend()
4903 using Elf_Rela = typename ELFT::Rela; in patchELFAllocatableRelaSections()