Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Object/
DELF.h49 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela; typedef
133 const Elf_Rela *rela_begin(const Elf_Shdr *sec) const { in rela_begin()
134 if (sec->sh_entsize != sizeof(Elf_Rela)) in rela_begin()
136 return reinterpret_cast<const Elf_Rela *>(base() + sec->sh_offset); in rela_begin()
139 const Elf_Rela *rela_end(const Elf_Shdr *sec) const { in rela_end()
141 if (Size % sizeof(Elf_Rela)) in rela_end()
143 return rela_begin(sec) + Size / sizeof(Elf_Rela); in rela_end()
DELFObjectFile.h198 typedef typename ELFFile<ELFT>::Elf_Rela Elf_Rela; typedef
311 const Elf_Rela *getRela(DataRefImpl Rela) const;
745 const typename ELFObjectFile<ELFT>::Elf_Rela *
748 return EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b); in getRela()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp58 typedef typename ELFO::Elf_Rela Elf_Rela; \
138 typedef typename ELFO::Elf_Rela Elf_Rela; typedef in __anon07d3185e0111::ELFDumper
342 const Elf_Rela &R, bool IsRela);
347 void printDynamicRelocation(const ELFO *Obj, Elf_Rela R, bool IsRela);
372 void printRelocation(const ELFO *Obj, Elf_Rela Rel, const Elf_Shdr *SymTab);
373 void printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel);
1428 DynPLTRelRegion.EntSize = sizeof(Elf_Rela); in parseDynamicTable()
1454 return DynRelaRegion.getAsArrayRef<Elf_Rela>(); in dyn_relas()
1883 typedef typename ELFO::Elf_Rela Elf_Rela; typedef in __anon07d3185e0511::MipsGOTParser
2078 for (const Elf_Rela *RI = Obj->rela_begin(PLTRelShdr), in parsePLT()
[all …]
DARMEHABIPrinter.h394 typename object::ELFFile<ET>::Elf_Rela RelA; in FindExceptionTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELF.cpp303 Elf_Rela Rela; in decode_relrs()
307 std::vector<Elf_Rela> Relocs; in decode_relrs()
381 std::vector<Elf_Rela> Relocs; in android_relas()
410 Elf_Rela R; in android_relas()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp105 typedef typename object::ELFFile<ELFT>::Elf_Rela Elf_Rela; typedef in __anonfe6449970311::ELFState
372 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in writeSectionContent()
385 Elf_Rela REntry; in writeSectionContent()
/external/llvm-project/lld/ELF/
DSyntheticSections.cpp1404 isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel)); in finalizeContents()
1644 this->entsize = config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in RelocationSection()
1663 encodeDynamicReloc<ELFT>(symTab, reinterpret_cast<Elf_Rela *>(buf), rel); in writeTo()
1664 buf += config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in writeTo()
1737 std::vector<Elf_Rela> relatives, nonRelatives; in updateAllocSize()
1740 Elf_Rela r; in updateAllocSize()
1759 std::vector<Elf_Rela> ungroupedRelatives; in updateAllocSize()
1760 std::vector<std::vector<Elf_Rela>> relativeGroups; in updateAllocSize()
1762 std::vector<Elf_Rela> group; in updateAllocSize()
1785 llvm::stable_sort(nonRelatives, [](const Elf_Rela &a, const Elf_Rela &b) { in updateAllocSize()
[all …]
DSyntheticSections.h466 using Elf_Rela = typename ELFT::Rela; variable
518 using Elf_Rela = typename ELFT::Rela; variable
531 using Elf_Rela = typename ELFT::Rela; variable
DInputFiles.h189 using Elf_Rela = typename ELFT::Rela; variable
DInputFiles.cpp974 ArrayRef<Elf_Rela> rels = CHECK(getObj().relas(sec), this); in createInputSection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h82 using Elf_Rela = typename ELFT::Rela; variable
177 return getSectionContentsAsArray<Elf_Rela>(Sec); in relas()
188 Expected<std::vector<Elf_Rela>> decode_relrs(Elf_Relr_Range relrs) const;
190 Expected<std::vector<Elf_Rela>> android_relas(const Elf_Shdr *Sec) const;
DELFObjectFile.h239 using Elf_Rela = typename ELFT::Rela; variable
400 const Elf_Rela *getRela(DataRefImpl Rela) const;
937 const typename ELFObjectFile<ELFT>::Elf_Rela *
940 auto Ret = EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b); in getRela()
/external/llvm-project/lld/test/ELF/
Drel-addend-with-rela-input.s3 # uses Elf_Rela
/external/llvm-project/llvm/lib/Object/
DELF.cpp400 std::vector<Elf_Rela> Relocs; in android_relas()
429 Elf_Rela R; in android_relas()
/external/llvm-project/llvm/include/llvm/Object/
DELF.h100 using Elf_Rela = typename ELFT::Rela; variable
195 return getSectionContentsAsArray<Elf_Rela>(Sec); in relas()
208 Expected<std::vector<Elf_Rela>> android_relas(const Elf_Shdr &Sec) const;
DELFObjectFile.h242 using Elf_Rela = typename ELFT::Rela; variable
409 const Elf_Rela *getRela(DataRefImpl Rela) const;
1024 const typename ELFObjectFile<ELFT>::Elf_Rela *
1027 auto Ret = EF.template getEntry<Elf_Rela>(Rela.d.a, Rela.d.b); in getRela()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp494 typedef typename ELFObjectFile<ELFT>::Elf_Rela Elf_Rela; in getRelocationValueString() typedef
526 const Elf_Rela *ERela = Obj->getRela(Rel); in getRelocationValueString()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp176 typedef typename ELFT::Rela Elf_Rela; typedef in __anon77577a0a0111::ELFState
1197 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in writeSectionContent()
1216 Elf_Rela REntry; in writeSectionContent()
1231 SHeader.sh_size = (IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel)) * in writeSectionContent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp110 typedef typename ELFT::Rela Elf_Rela; typedef in __anon0a8ae79e0111::ELFState
799 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in writeSectionContent()
816 Elf_Rela REntry; in writeSectionContent()
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.h133 using Elf_Rela = typename ELFT::Rela; variable
152 using Elf_Rela = typename ELFT::Rela; variable
DObject.cpp112 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit()
986 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf)); in visit()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp91 using Elf_Rela = typename ELFT::Rela; \
2187 DynPLTRelRegion.EntSize = sizeof(Elf_Rela); in parseDynamicTable()
2281 return DynRelaRegion.getAsArrayRef<Elf_Rela>(); in dyn_relas()
4662 for (const Elf_Rela &Rela : this->dumper().dyn_relas()) in printDynamicRelocationsHelper()
4683 if (DynPLTRelRegion.EntSize == sizeof(Elf_Rela)) { in printDynamicRelocationsHelper()
4685 for (const Elf_Rela &Rela : DynPLTRelRegion.getAsArrayRef<Elf_Rela>()) in printDynamicRelocationsHelper()
5735 for (const Elf_Rela &R : *RangeOrErr) in forEachRelocationDo()
5761 if (Expected<std::vector<Elf_Rela>> RelasOrErr = Obj.android_relas(Sec)) { in forEachRelocationDo()
5762 for (const Elf_Rela &R : *RelasOrErr) in forEachRelocationDo()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp32 typedef typename ELFT::Rela Elf_Rela; typedef in __anon923aafa50111::ELFDumper
1090 for (const Elf_Rela &Rel : *Rels) { in dumpRelocSection()
/external/llvm-project/llvm/test/Object/
Dinvalid.test464 ## has sh_entsize field with size != sizeof(Elf_Rela).
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp41 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela; typedef in __anon5796c0730111::DyldELFObject

12