/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MachORelocationInfo.cpp | 27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObjectFile()); 30 uint64_t RelType; Rel.getType(RelType); 31 symbol_iterator SymI = Rel.getSymbol(); 36 any_relocation_info RE = Obj->getRelocation(Rel.getRawDataRefImpl()); 75 Rel.moveNext(); 77 Obj->getRelocation(Rel.getRawDataRefImpl()); 89 symbol_iterator RSymI = Rel.getSymbol();
|
H A D | X86ELFRelocationInfo.cpp | 28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { 29 uint64_t RelType; Rel.getType(RelType); 30 symbol_iterator SymI = Rel.getSymbol(); 35 int64_t Addend; getELFRelocationAddend(Rel, Addend);
|
/external/llvm/include/llvm/MC/ |
H A D | MCRelocationInfo.h | 41 /// \brief Create an MCExpr for the relocation \p Rel. 42 /// \returns If possible, an MCExpr corresponding to Rel, else 0. 43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
|
/external/llvm/lib/MC/MCDisassembler/ |
H A D | MCRelocationInfo.cpp | 25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { argument
|
/external/llvm/include/llvm/Object/ |
H A D | ELFObjectFile.h | 43 virtual std::error_code getRelocationAddend(DataRefImpl Rel, 109 void moveRelocationNext(DataRefImpl &Rel) const override; 110 std::error_code getRelocationAddress(DataRefImpl Rel, 112 std::error_code getRelocationOffset(DataRefImpl Rel, 114 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 115 std::error_code getRelocationType(DataRefImpl Rel, 118 getRelocationTypeName(DataRefImpl Rel, 121 getRelocationValueString(DataRefImpl Rel, 124 uint64_t getROffset(DataRefImpl Rel) const; 127 /// \brief Get the relocation section that contains \a Rel 590 getRelocationAddress(DataRefImpl Rel, uint64_t &Result) const argument 608 getRelocationOffset(DataRefImpl Rel, uint64_t &Result) const argument 630 getRelocationType(DataRefImpl Rel, uint64_t &Result) const argument 654 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument 677 getRelocationAddend(DataRefImpl Rel, int64_t &Result) const argument 695 getRelocationValueString( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument [all...] |
H A D | ObjectFile.h | 244 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0; 245 virtual std::error_code getRelocationAddress(DataRefImpl Rel, 247 virtual std::error_code getRelocationOffset(DataRefImpl Rel, 249 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0; 250 virtual std::error_code getRelocationType(DataRefImpl Rel, 253 getRelocationTypeName(DataRefImpl Rel, 256 getRelocationValueString(DataRefImpl Rel, 258 virtual std::error_code getRelocationHidden(DataRefImpl Rel, argument
|
H A D | MachO.h | 232 void moveRelocationNext(DataRefImpl &Rel) const override; 233 std::error_code getRelocationAddress(DataRefImpl Rel, 235 std::error_code getRelocationOffset(DataRefImpl Rel, 237 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 238 std::error_code getRelocationType(DataRefImpl Rel, 241 getRelocationTypeName(DataRefImpl Rel, 244 getRelocationValueString(DataRefImpl Rel, 246 std::error_code getRelocationHidden(DataRefImpl Rel, 386 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const; 387 MachO::data_in_code_entry getDice(DataRefImpl Rel) cons [all...] |
H A D | COFF.h | 511 const coff_relocation *toRel(DataRefImpl Rel) const; 609 void moveRelocationNext(DataRefImpl &Rel) const override; 610 std::error_code getRelocationAddress(DataRefImpl Rel, 612 std::error_code getRelocationOffset(DataRefImpl Rel, 614 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 615 std::error_code getRelocationType(DataRefImpl Rel, 618 getRelocationTypeName(DataRefImpl Rel, 621 getRelocationValueString(DataRefImpl Rel,
|
H A D | COFFYAML.h | 167 static void mapping(IO &IO, COFFYAML::Relocation &Rel);
|
H A D | ELFYAML.h | 227 static void mapping(IO &IO, ELFYAML::Relocation &Rel);
|
H A D | ELF.h | 319 getRelocationSymbol(const Elf_Shdr *RelSec, const RelT *Rel) const; 586 ELFFile<ELFT>::getRelocationSymbol(const Elf_Shdr *Sec, const RelT *Rel) const { 591 SymTable, getEntry<Elf_Sym>(SymTable, Rel->getSymbol(isMips64EL())));
|
/external/elfutils/src/libelf/ |
H A D | gelf_xlate.h | 45 TYPE (Rel, LIBELFBITS)
|
H A 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)
|
/external/llvm/tools/obj2yaml/ |
H A D | coff2yaml.cpp | 121 COFFYAML::Relocation Rel; local 123 Sym->getName(Rel.SymbolName); 124 Rel.VirtualAddress = reloc->VirtualAddress; 125 Rel.Type = reloc->Type; 126 Relocations.push_back(Rel);
|
H A D | elf2yaml.cpp | 36 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel, 167 const RelT *Rel, 169 R.Type = Rel->getType(Obj.isMips64EL()); 170 R.Offset = Rel->r_offset; 173 auto NamePair = Obj.getRelocationSymbol(Shdr, Rel); 166 dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel, ELFYAML::Relocation &R) argument
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.h | 78 RelocationValueRef &Rel); 81 RelocationValueRef &Rel);
|
H A D | RuntimeDyldELF.cpp | 574 RelocationValueRef &Rel) { 580 Rel.SymbolName = NULL; 581 Rel.SectionID = 0; 595 Rel.SectionID = findOrEmitSection(Obj, *si, false, LocalSections); 602 Rel.Addend = 0x8000; 609 RelocationValueRef &Rel) { 654 if (Rel.Addend != (int64_t)TargetSymbolOffset) 660 Rel.SectionID = findOrEmitSection(Obj, (*tsi), IsCode, LocalSections); 661 Rel.Addend = (intptr_t)Addend;
|
/external/llvm/tools/yaml2obj/ |
H A D | yaml2elf.cpp | 359 for (const auto &Rel : Section.Relocations) { 361 if (SymN2I.lookup(Rel.Symbol, SymIdx)) { 362 errs() << "error: Unknown symbol referenced: '" << Rel.Symbol 370 REntry.r_offset = Rel.Offset; 371 REntry.r_addend = Rel.Addend; 372 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc)); 377 REntry.r_offset = Rel.Offset; 378 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
|
/external/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 667 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { 668 ++Rel.d.b; 671 std::error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel, argument 674 getRelocationOffset(Rel, Offset); 677 Sec.d.a = Rel.d.a; 683 std::error_code MachOObjectFile::getRelocationOffset(DataRefImpl Rel, argument 687 MachO::any_relocation_info RE = getRelocation(Rel); 693 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { 694 MachO::any_relocation_info RE = getRelocation(Rel); 713 std::error_code MachOObjectFile::getRelocationType(DataRefImpl Rel, argument 721 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument 833 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument 1008 getRelocationHidden(DataRefImpl Rel, bool &Result) const argument [all...] |
H A D | COFFYAML.cpp | 341 COFFYAML::Relocation &Rel) { 342 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); 343 IO.mapRequired("SymbolName", Rel.SymbolName); 348 IO, Rel.Type); 352 IO, Rel.Type); 355 IO.mapRequired("Type", Rel.Type); 340 mapping(IO &IO, COFFYAML::Relocation &Rel) argument
|
H A D | COFFObjectFile.cpp | 1008 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { 1009 return reinterpret_cast<const coff_relocation*>(Rel.p); 1012 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { 1013 Rel.p = reinterpret_cast<uintptr_t>( 1014 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); 1017 std::error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel, argument 1022 std::error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel, argument 1024 const coff_relocation *R = toRel(Rel); 1033 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { 1034 const coff_relocation *R = toRel(Rel); 1047 getRelocationType(DataRefImpl Rel, uint64_t &Res) const argument 1082 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument 1158 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument [all...] |
H A D | ELFYAML.cpp | 593 ELFYAML::Relocation &Rel) { 597 IO.mapRequired("Offset", Rel.Offset); 598 IO.mapRequired("Symbol", Rel.Symbol); 603 IO, Rel.Type); 609 IO.mapRequired("Type", Rel.Type); 611 IO.mapOptional("Addend", Rel.Addend, (int64_t)0); 592 mapping(IO &IO, ELFYAML::Relocation &Rel) argument
|
/external/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 68 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel); 668 typename ELFO::Elf_Rela Rel) { 670 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName); 673 Obj->getRelocationSymbol(Sec, &Rel); 679 W.printHex("Offset", Rel.r_offset); 680 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL())); 682 Rel.getSymbol(Obj->isMips64EL())); 683 W.printHex("Addend", Rel.r_addend); 686 OS << W.hex(Rel.r_offset) 689 << " " << W.hex(Rel 667 printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel) argument [all...] |
/external/llvm/lib/MC/ |
H A D | MachObjectWriter.cpp | 620 for (RelAndSymbol &Rel : Relocs) { 621 if (!Rel.Sym) 625 unsigned Index = Rel.Sym->getIndex(); 628 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (-1 << 24)) | Index | (1 << 27); 630 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4);
|
/external/clang/lib/Basic/ |
H A D | FileManager.cpp | 526 StringRef Rel = path::relative_path(P); local 528 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) {
|