/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
RelocVisitor.h | 43 uint64_t visit(uint32_t Rel, RelocationRef R, uint64_t Value = 0) { 45 return visitELF(Rel, R, Value); 47 return visitCOFF(Rel, R, Value); 49 return visitMachO(Rel, R, Value); 51 return visitWasm(Rel, R, Value); 63 uint64_t visitELF(uint32_t Rel, RelocationRef R, uint64_t Value) { 67 return visitX86_64(Rel, R, Value); 70 return visitAarch64(Rel, R, Value); 73 return visitBpf(Rel, R, Value); 76 return visitMips64(Rel, R, Value) [all...] |
ELFObjectFile.h | 64 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 217 using Elf_Rel = typename ELFT::Rel; 266 void moveRelocationNext(DataRefImpl &Rel) const override; 267 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 268 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 269 uint64_t getRelocationType(DataRefImpl Rel) const override; 270 void getRelocationTypeName(DataRefImpl Rel, 278 /// Get the relocation section that contains \a Rel. 279 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { 280 auto RelSecOrErr = EF.getSection(Rel.d.a) [all...] |
Wasm.h | 181 void moveRelocationNext(DataRefImpl &Rel) const override; 182 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 183 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 184 uint64_t getRelocationType(DataRefImpl Rel) const override; 185 void getRelocationTypeName(DataRefImpl Rel,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
DWARFDataExtractor.cpp | 22 Optional<RelocAddrEntry> Rel = Obj->find(*Section, *Off); 23 if (!Rel) 26 *SecNdx = Rel->SectionIndex; 27 return getUnsigned(Off, Size) + Rel->Value;
|
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
COFF.h | 92 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,
|
MachO.h | 66 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,
|
ObjectFile.h | 256 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/llvm/include/llvm/Object/ |
ELFObjectFile.h | 63 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) const [all...] |
MachO.h | 234 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) const [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
ELFObjectFile.cpp | 305 /// @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, [all...] |
COFFObjectFile.cpp | 563 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { 564 return reinterpret_cast<const coff_relocation*>(Rel.p); 566 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel, 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, 575 Res = toRel(Rel)->VirtualAddress; 578 error_code COFFObjectFile::getRelocationSymbol(DataRefImpl Rel, 580 const coff_relocation* R = toRel(Rel); [all...] |
MachOObjectFile.cpp | 524 getRelocation(DataRefImpl Rel, 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, 540 ++Rel.d.a; 541 Res = RelocationRef(Rel, this); 544 error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel, 549 getSection64(Sections[Rel.d.b], Sect); 553 getSection(Sections[Rel.d.b], Sect) [all...] |
/external/elfutils/libelf/ |
gelf_xlate.h | 45 TYPE (Rel, LIBELFBITS)
|
/bionic/linker/ |
linker_reloc_iterators.h | 44 typedef ElfW(Rel) rel_t; 70 typedef ElfW(Rel) rel_t; 137 DL_ERR("unexpected r_addend in android.rel section");
|
/external/clang/lib/Index/ |
IndexingContext.cpp | 310 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()));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
Elf32Convert.c | 723 Elf_Rel *Rel = (Elf_Rel *)((UINT8*)mEhdr + RelShdr->sh_offset + RelOffset);
728 Elf_Sym *Sym = (Elf_Sym *)(Symtab + ELF_R_SYM(Rel->r_info) * SymtabShdr->sh_entsize);
761 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
767 switch (ELF_R_TYPE(Rel->r_info)) {
788 Error (NULL, 0, 3000, "Invalid", "%s unsupported ELF EM_386 relocation 0x%x.", mInImageName, (unsigned) ELF_R_TYPE(Rel->r_info));
791 switch (ELF32_R_TYPE(Rel->r_info)) {
857 Error (NULL, 0, 3000, "Invalid", "WriteSections (): %s unsupported ELF EM_ARM relocation 0x%x.", mInImageName, (unsigned) ELF32_R_TYPE(Rel->r_info));
880 Elf_Rel *Rel;
896 Rel = (Elf_Rel *)((UINT8*)mEhdr + RelShdr->sh_offset + RelIdx);
899 switch (ELF_R_TYPE(Rel->r_info)) { [all...] |
Elf64Convert.c | 734 Elf_Rela *Rel = (Elf_Rela *)((UINT8*)mEhdr + RelShdr->sh_offset + RelIdx);
739 Elf_Sym *Sym = (Elf_Sym *)(Symtab + ELF_R_SYM(Rel->r_info) * SymtabShdr->sh_entsize);
774 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
780 switch (ELF_R_TYPE(Rel->r_info)) {
789 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)),
797 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)),
805 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)),
827 (UINT32)(SecOffset + (Rel->r_offset - SecShdr->sh_addr)),
835 Error (NULL, 0, 3000, "Invalid", "%s unsupported ELF EM_X86_64 relocation 0x%x.", mInImageName, (unsigned) ELF_R_TYPE(Rel->r_info));
839 switch (ELF_R_TYPE(Rel->r_info)) { [all...] |
/art/libelffile/elf/ |
elf_utils.h | 37 typedef Elf32_Rel Rel; 54 typedef Elf64_Rel Rel;
|
/build/soong/cc/ |
gen.go | 78 Description: "yacc " + yaccFile.Rel(), 94 Description: "aidl " + aidlFile.Rel(), 110 Description: "lex " + lexFile.Rel(), 117 headerFile := android.PathForModuleGen(ctx, "sysprop", "include", syspropFile.Rel()+".h") 118 systemHeaderFile := android.PathForModuleGen(ctx, "sysprop/system", "include", syspropFile.Rel()+".h") 119 cppFile := android.PathForModuleGen(ctx, "sysprop", syspropFile.Rel()+".cpp") 123 Description: "sysprop " + syspropFile.Rel(), 131 "includeName": syspropFile.Rel() + ".h", 146 Description: "windmc " + srcFile.Rel(),
|
/build/soong/python/ |
proto.go | 47 rule.Build(pctx, ctx, "protoc_"+protoFile.Rel(), "protoc "+protoFile.Rel())
|
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 122 COFFYAML::Relocation Rel; 132 Rel.SymbolName = *SymbolNameOrErr; 133 Rel.VirtualAddress = reloc->VirtualAddress; 134 Rel.Type = reloc->Type; 135 Relocations.push_back(Rel);
|
/external/swiftshader/third_party/subzero/src/ |
IceELFSection.h | 381 Elf32_Rel Rel; 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/llvm-objdump/ |
llvm-objdump.cpp | 490 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.getSymbol() [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
ParserValidate.py | 257 for Rel in ['/', './', '../']:
258 if OrigPath.startswith(Rel):
260 for Rel in ['//', '/./', '/../']:
261 if Rel in OrigPath:
263 for Rel in ['/.', '/..', '/']:
264 if OrigPath.endswith(Rel):
|
/bionic/libc/bionic/ |
libc_init_static.cpp | 92 extern __LIBC_HIDDEN__ __attribute__((weak)) ElfW(Rel) __rel_iplt_start[], __rel_iplt_end[]; 107 for (ElfW(Rel) *r = __rel_iplt_start; r != __rel_iplt_end; ++r) {
|