Searched refs:Rel (Results 1 - 25 of 38) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm/Object/
H A DMachO.h66 virtual error_code getRelocationNext(DataRefImpl Rel,
68 virtual error_code getRelocationAddress(DataRefImpl Rel,
70 virtual error_code getRelocationSymbol(DataRefImpl Rel,
72 virtual error_code getRelocationType(DataRefImpl Rel,
74 virtual error_code getRelocationTypeName(DataRefImpl Rel,
76 virtual error_code getRelocationAdditionalInfo(DataRefImpl Rel,
78 virtual error_code getRelocationValueString(DataRefImpl Rel,
97 void getRelocation(DataRefImpl Rel,
H A DCOFF.h92 const coff_relocation *toRel(DataRefImpl Rel) const;
119 virtual error_code getRelocationNext(DataRefImpl Rel,
121 virtual error_code getRelocationAddress(DataRefImpl Rel,
123 virtual error_code getRelocationSymbol(DataRefImpl Rel,
125 virtual error_code getRelocationType(DataRefImpl Rel,
127 virtual error_code getRelocationTypeName(DataRefImpl Rel,
129 virtual error_code getRelocationAdditionalInfo(DataRefImpl Rel,
131 virtual error_code getRelocationValueString(DataRefImpl Rel,
H A DObjectFile.h256 virtual error_code getRelocationNext(DataRefImpl Rel,
258 virtual error_code getRelocationAddress(DataRefImpl Rel,
260 virtual error_code getRelocationSymbol(DataRefImpl Rel,
262 virtual error_code getRelocationType(DataRefImpl Rel,
264 virtual error_code getRelocationTypeName(DataRefImpl Rel,
266 virtual error_code getRelocationAdditionalInfo(DataRefImpl Rel,
268 virtual error_code getRelocationValueString(DataRefImpl Rel,
/external/swiftshader/third_party/LLVM/lib/Object/
H A DELFObjectFile.cpp305 /// @brief Get the relocation section that contains \a Rel.
306 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
307 return getSection(Rel.w.b);
311 bool isRelocationHasAddend(DataRefImpl Rel) const;
319 const Elf_Rel *getRel(DataRefImpl Rel) const;
350 virtual error_code getRelocationNext(DataRefImpl Rel,
352 virtual error_code getRelocationAddress(DataRefImpl Rel,
354 virtual error_code getRelocationSymbol(DataRefImpl Rel,
356 virtual error_code getRelocationType(DataRefImpl Rel,
358 virtual error_code getRelocationTypeName(DataRefImpl Rel,
793 getRelocationNext(DataRefImpl Rel, RelocationRef &Result) const argument
822 getRelocationSymbol(DataRefImpl Rel, SymbolRef &Result) const argument
850 getRelocationAddress(DataRefImpl Rel, uint64_t &Result) const argument
873 getRelocationType(DataRefImpl Rel, uint32_t &Result) const argument
896 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
1009 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Result) const argument
1028 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DCOFFObjectFile.cpp563 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
564 return reinterpret_cast<const coff_relocation*>(Rel.p);
566 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel, argument
568 Rel.p = reinterpret_cast<uintptr_t>(
569 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
570 Res = RelocationRef(Rel, this);
573 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel, argument
575 Res = toRel(Rel)->VirtualAddress;
578 error_code COFFObjectFile::getRelocationSymbol(DataRefImpl Rel, argument
580 const coff_relocation* R = toRel(Rel);
586 getRelocationType(DataRefImpl Rel, uint32_t &Res) const argument
596 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
650 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Res) const argument
655 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DMachOObjectFile.cpp524 getRelocation(DataRefImpl Rel, argument
529 getSection64(Sections[Rel.d.b], Sect);
533 getSection(Sections[Rel.d.b], Sect);
536 MachOObj->ReadRelocationEntry(relOffset, Rel.d.a, Res);
538 error_code MachOObjectFile::getRelocationNext(DataRefImpl Rel, argument
540 ++Rel.d.a;
541 Res = RelocationRef(Rel, this);
544 error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel, argument
549 getSection64(Sections[Rel.d.b], Sect);
553 getSection(Sections[Rel
561 getRelocationSymbol(DataRefImpl Rel, SymbolRef &Res) const argument
582 getRelocationType(DataRefImpl Rel, uint32_t &Res) const argument
589 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
593 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Res) const argument
614 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/external/llvm/include/llvm/Object/
H A DELFObjectFile.h63 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
239 void moveRelocationNext(DataRefImpl &Rel) const override;
240 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
241 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
242 uint64_t getRelocationType(DataRefImpl Rel) const override;
243 void getRelocationTypeName(DataRefImpl Rel,
250 /// \brief Get the relocation section that contains \a Rel.
251 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
252 return *EF.getSection(Rel.d.a);
310 const Elf_Rel *getRel(DataRefImpl Rel) cons
723 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DMachO.h234 void moveRelocationNext(DataRefImpl &Rel) const override;
235 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
236 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
237 section_iterator getRelocationSection(DataRefImpl Rel) const;
238 uint64_t getRelocationType(DataRefImpl Rel) const override;
239 void getRelocationTypeName(DataRefImpl Rel,
241 uint8_t getRelocationLength(DataRefImpl Rel) const;
246 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
384 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
385 MachO::data_in_code_entry getDice(DataRefImpl Rel) cons
[all...]
H A DObjectFile.h232 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0;
233 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0;
234 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0;
235 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0;
236 virtual void getRelocationTypeName(DataRefImpl Rel,
H A DCOFF.h650 const coff_relocation *toRel(DataRefImpl Rel) const;
746 void moveRelocationNext(DataRefImpl &Rel) const override;
747 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
748 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
749 uint64_t getRelocationType(DataRefImpl Rel) const override;
750 void getRelocationTypeName(DataRefImpl Rel,
/external/elfutils/libelf/
H A Dgelf_xlate.h45 TYPE (Rel, LIBELFBITS)
H A Dabstract.h137 START (32, Rel, Ext##Rel) \
140 END (32, Ext##Rel)
142 START (64, Rel, Ext##Rel) \
145 END (64, Ext##Rel)
/external/clang/lib/Index/
H A DIndexingContext.cpp310 auto addRelation = [&](SymbolRelation Rel) {
313 return Elem.RelatedSymbol == Rel.RelatedSymbol;
316 It->Roles |= Rel.Roles;
318 FinalRelations.push_back(Rel);
320 Roles |= Rel.Roles;
326 for (auto &Rel : Relations) {
327 addRelation(SymbolRelation(Rel.Roles,
328 Rel.RelatedSymbol->getCanonicalDecl()));
/external/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp122 COFFYAML::Relocation Rel; local
132 Rel.SymbolName = *SymbolNameOrErr;
133 Rel.VirtualAddress = reloc->VirtualAddress;
134 Rel.Type = reloc->Type;
135 Relocations.push_back(Rel);
H A Delf2yaml.cpp37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
204 std::error_code ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, argument
207 R.Type = Rel->getType(Obj.isMips64EL());
208 R.Offset = Rel->r_offset;
211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab);
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp490 DataRefImpl Rel = RelRef.getRawDataRefImpl();
498 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a);
526 const Elf_Rela *ERela = Obj->getRela(Rel);
620 const RelocationRef &Rel,
623 return getRelocationValueString(ELF32LE, Rel, Result);
625 return getRelocationValueString(ELF64LE, Rel, Result);
627 return getRelocationValueString(ELF32BE, Rel, Result);
629 return getRelocationValueString(ELF64BE, Rel, Result);
633 const RelocationRef &Rel,
635 symbol_iterator SymI = Rel
[all...]
/external/swiftshader/third_party/subzero/src/
H A DIceELFSection.h381 Elf32_Rel Rel; local
382 Rel.r_offset = Fixup.position();
383 Rel.setSymbolAndType(Symbol->getNumber(), Fixup.kind());
384 Str.writeAddrOrOffset<IsELF64>(Rel.r_offset);
385 Str.writeELFWord<IsELF64>(Rel.r_info);
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp377 for (const auto &Rel : Section.Relocations) {
382 SymN2I.lookup(Rel.Symbol, SymIdx);
387 REntry.r_offset = Rel.Offset;
388 REntry.r_addend = Rel.Addend;
389 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
394 REntry.r_offset = Rel.Offset;
395 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
/external/llvm/lib/MC/
H A DMachObjectWriter.cpp594 for (RelAndSymbol &Rel : Relocations[&Section]) {
595 if (!Rel.Sym)
599 unsigned Index = Rel.Sym->getIndex();
602 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27);
604 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4);
913 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) {
914 write32(Rel.MRE.r_word0);
915 write32(Rel
[all...]
/external/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp343 COFFYAML::Relocation &Rel) {
344 IO.mapRequired("VirtualAddress", Rel.VirtualAddress);
345 IO.mapRequired("SymbolName", Rel.SymbolName);
350 IO, Rel.Type);
354 IO, Rel.Type);
357 IO.mapRequired("Type", Rel.Type);
342 mapping(IO &IO, COFFYAML::Relocation &Rel) argument
/external/llvm/lib/Object/
H A DMachOObjectFile.cpp741 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
742 ++Rel.d.b;
745 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const {
748 MachO::any_relocation_info RE = getRelocation(Rel);
753 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
754 MachO::any_relocation_info RE = getRelocation(Rel);
774 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const {
775 return section_iterator(getAnyRelocationSection(getRelocation(Rel)));
778 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const {
779 MachO::any_relocation_info RE = getRelocation(Rel);
783 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DCOFFObjectFile.cpp1050 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
1051 return reinterpret_cast<const coff_relocation*>(Rel.p);
1054 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
1055 Rel.p = reinterpret_cast<uintptr_t>(
1056 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
1059 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
1060 const coff_relocation *R = toRel(Rel);
1064 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
1065 const coff_relocation *R = toRel(Rel);
1078 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) cons
1119 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/external/boringssl/src/util/
H A Ddiff_asm.go72 path, err = filepath.Rel(*boringsslDir, path)
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h98 RelocationValueRef &Rel);
101 RelocationValueRef &Rel);
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp372 void printRelocation(const ELFO *Obj, Elf_Rela Rel, const Elf_Shdr *SymTab);
373 void printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel);
3028 for (const Elf_Rel &Rel : this->dumper()->dyn_rels()) {
3030 Rela.r_offset = Rel.r_offset;
3031 Rela.r_info = Rel.r_info;
3048 for (const Elf_Rel &Rel : DynPLTRelRegion.getAsArrayRef<Elf_Rel>()) {
3050 Rela.r_offset = Rel.r_offset;
3051 Rela.r_info = Rel.r_info;
3286 void LLVMStyle<ELFT>::printRelocation(const ELFO *Obj, Elf_Rela Rel, argument
3289 Obj->getRelocationTypeName(Rel
3488 printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel) argument
[all...]

Completed in 427 milliseconds

12