/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachORelocationInfo.cpp | 27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation() argument 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObject()); in createExprForRelocation() 30 uint64_t RelType = Rel.getType(); in createExprForRelocation() 31 symbol_iterator SymI = Rel.getSymbol(); in createExprForRelocation() 39 any_relocation_info RE = Obj->getRelocation(Rel.getRawDataRefImpl()); in createExprForRelocation() 78 Rel.moveNext(); in createExprForRelocation() 80 Obj->getRelocation(Rel.getRawDataRefImpl()); in createExprForRelocation() 92 symbol_iterator RSymI = Rel.getSymbol(); in createExprForRelocation()
|
D | X86ELFRelocationInfo.cpp | 28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation() argument 29 uint64_t RelType = Rel.getType(); in createExprForRelocation() 30 elf_symbol_iterator SymI = Rel.getSymbol(); in createExprForRelocation() 41 int64_t Addend = *ELFRelocationRef(Rel).getAddend(); in createExprForRelocation()
|
/external/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 57 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 229 void moveRelocationNext(DataRefImpl &Rel) const override; 230 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 231 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 232 uint64_t getRelocationType(DataRefImpl Rel) const override; 233 void getRelocationTypeName(DataRefImpl Rel, 241 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection() argument 242 return *EF.getSection(Rel.d.a); in getRelSection() 302 const Elf_Rel *getRel(DataRefImpl Rel) const; 322 ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const override; [all …]
|
D | MachO.h | 232 void moveRelocationNext(DataRefImpl &Rel) const override; 233 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 234 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 235 section_iterator getRelocationSection(DataRefImpl Rel) const; 236 uint64_t getRelocationType(DataRefImpl Rel) const override; 237 void getRelocationTypeName(DataRefImpl Rel, 239 uint8_t getRelocationLength(DataRefImpl Rel) const; 244 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 380 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const; 381 MachO::data_in_code_entry getDice(DataRefImpl Rel) const;
|
D | ObjectFile.h | 228 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0; 229 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0; 230 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0; 231 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0; 232 virtual void getRelocationTypeName(DataRefImpl Rel,
|
D | COFF.h | 578 const coff_relocation *toRel(DataRefImpl Rel) const; 672 void moveRelocationNext(DataRefImpl &Rel) const override; 673 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 674 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 675 uint64_t getRelocationType(DataRefImpl Rel) const override; 676 void getRelocationTypeName(DataRefImpl Rel,
|
D | ELF.h | 91 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel, 308 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel, in getRelocationSymbol() argument 310 uint32_t Index = Rel->getSymbol(isMips64EL()); in getRelocationSymbol()
|
D | COFFYAML.h | 167 static void mapping(IO &IO, COFFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 381 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString() local 389 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() 417 const Elf_Rela *ERela = Obj->getRela(Rel); in getRelocationValueString() 493 const RelocationRef &Rel, in getRelocationValueString() argument 496 return getRelocationValueString(ELF32LE, Rel, Result); in getRelocationValueString() 498 return getRelocationValueString(ELF64LE, Rel, Result); in getRelocationValueString() 500 return getRelocationValueString(ELF32BE, Rel, Result); in getRelocationValueString() 502 return getRelocationValueString(ELF64BE, Rel, Result); in getRelocationValueString() 506 const RelocationRef &Rel, in getRelocationValueString() argument 508 symbol_iterator SymI = Rel.getSymbol(); in getRelocationValueString() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | coff2yaml.cpp | 121 COFFYAML::Relocation Rel; in dumpSections() local 126 Rel.SymbolName = *SymbolNameOrErr; in dumpSections() 127 Rel.VirtualAddress = reloc->VirtualAddress; in dumpSections() 128 Rel.Type = reloc->Type; in dumpSections() 129 Relocations.push_back(Rel); in dumpSections()
|
D | elf2yaml.cpp | 37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 204 std::error_code ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, in dumpRelocation() argument 207 R.Type = Rel->getType(Obj.isMips64EL()); in dumpRelocation() 208 R.Offset = Rel->r_offset; in dumpRelocation() 211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab); in dumpRelocation()
|
/external/llvm/lib/MC/ |
D | MachObjectWriter.cpp | 590 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable() 591 if (!Rel.Sym) in computeSymbolTable() 595 unsigned Index = Rel.Sym->getIndex(); in computeSymbolTable() 598 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27); in computeSymbolTable() 600 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4); in computeSymbolTable() 909 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject() local 910 write32(Rel.MRE.r_word0); in writeObject() 911 write32(Rel.MRE.r_word1); in writeObject()
|
/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 603 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext() 604 ++Rel.d.b; in moveRelocationNext() 607 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset() 610 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset() 615 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol() 616 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol() 636 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { in getRelocationSection() 637 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection() 640 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType() 641 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType() [all …]
|
D | COFFObjectFile.cpp | 965 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel() 966 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel() 969 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext() 970 Rel.p = reinterpret_cast<uintptr_t>( in moveRelocationNext() 971 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext() 974 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset() 975 const coff_relocation *R = toRel(Rel); in getRelocationOffset() 979 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol() 980 const coff_relocation *R = toRel(Rel); in getRelocationSymbol() 993 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType() [all …]
|
D | COFFYAML.cpp | 343 COFFYAML::Relocation &Rel) { in mapping() argument 344 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); in mapping() 345 IO.mapRequired("SymbolName", Rel.SymbolName); in mapping() 350 IO, Rel.Type); in mapping() 354 IO, Rel.Type); in mapping() 357 IO.mapRequired("Type", Rel.Type); in mapping()
|
D | ELFYAML.cpp | 772 ELFYAML::Relocation &Rel) { in mapping() argument 776 IO.mapRequired("Offset", Rel.Offset); in mapping() 777 IO.mapRequired("Symbol", Rel.Symbol); in mapping() 782 IO, Rel.Type); in mapping() 788 IO.mapRequired("Type", Rel.Type); in mapping() 790 IO.mapOptional("Addend", Rel.Addend, (int64_t)0); in mapping()
|
/external/elfutils/libelf/ |
D | abstract.h | 137 START (32, Rel, Ext##Rel) \ 140 END (32, Ext##Rel) 142 START (64, Rel, Ext##Rel) \ 145 END (64, Ext##Rel)
|
D | gelf_xlate.h | 45 TYPE (Rel, LIBELFBITS)
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 377 for (const auto &Rel : Section.Relocations) { in writeSectionContent() local 382 SymN2I.lookup(Rel.Symbol, SymIdx); in writeSectionContent() 387 REntry.r_offset = Rel.Offset; in writeSectionContent() 388 REntry.r_addend = Rel.Addend; in writeSectionContent() 389 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc)); in writeSectionContent() 394 REntry.r_offset = Rel.Offset; in writeSectionContent() 395 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc)); in writeSectionContent()
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 108 void printRelocation(Elf_Rela Rel, const Elf_Shdr *SymTab); 1164 for (const Elf_Rela &Rel : dyn_relas()) { in printDynamicRelocations() local 1166 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName); in printDynamicRelocations() 1168 uint32_t SymIndex = Rel.getSymbol(Obj->isMips64EL()); in printDynamicRelocations() 1173 W.printHex("Offset", Rel.r_offset); in printDynamicRelocations() 1174 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL())); in printDynamicRelocations() 1176 W.printHex("Addend", Rel.r_addend); in printDynamicRelocations() 1180 OS << W.hex(Rel.r_offset) << " " << RelocName << " " in printDynamicRelocations() 1182 << W.hex(Rel.r_addend) << "\n"; in printDynamicRelocations() 1213 void ELFDumper<ELFT>::printRelocation(Elf_Rela Rel, const Elf_Shdr *SymTab) { in printRelocation() argument [all …]
|
/external/llvm/lib/MC/MCDisassembler/ |
D | MCRelocationInfo.cpp | 25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { in createExprForRelocation() argument
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.h | 95 RelocationValueRef &Rel); 98 RelocationValueRef &Rel);
|
D | RuntimeDyldELF.cpp | 786 RelocationValueRef &Rel) { in findPPC64TOCSection() argument 792 Rel.SymbolName = nullptr; in findPPC64TOCSection() 793 Rel.SectionID = 0; in findPPC64TOCSection() 805 Rel.SectionID = findOrEmitSection(Obj, Section, false, LocalSections); in findPPC64TOCSection() 812 Rel.Addend = 0x8000; in findPPC64TOCSection() 819 RelocationValueRef &Rel) { in findOPDEntrySection() argument 862 if (Rel.Addend != (int64_t)TargetSymbolOffset) in findOPDEntrySection() 869 Rel.SectionID = findOrEmitSection(Obj, (*tsi), IsCode, LocalSections); in findOPDEntrySection() 870 Rel.Addend = (intptr_t)Addend; in findOPDEntrySection()
|
/external/llvm/include/llvm/MC/ |
D | MCRelocationInfo.h | 43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
|
/external/icu/icu4c/source/data/brkitr/ |
D | de.txt | 115 "Rel.",
|