HomeSort by relevance Sort by last modified time
    Searched refs:Rel (Results 1 - 25 of 37) sorted by null

1 2

  /external/llvm/lib/Target/X86/MCTargetDesc/
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();
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/
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/
MCRelocationInfo.cpp 25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) {
  /external/llvm/include/llvm/Object/
ELFObjectFile.h 103 void moveRelocationNext(DataRefImpl &Rel) const override;
104 std::error_code getRelocationAddress(DataRefImpl Rel,
106 std::error_code getRelocationOffset(DataRefImpl Rel,
108 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
109 std::error_code getRelocationType(DataRefImpl Rel,
112 getRelocationTypeName(DataRefImpl Rel,
115 getRelocationValueString(DataRefImpl Rel,
118 uint64_t getROffset(DataRefImpl Rel) const;
121 /// \brief Get the relocation section that contains \a Rel.
122 const Elf_Shdr *getRelSection(DataRefImpl Rel) const
    [all...]
MachO.h 104 void moveRelocationNext(DataRefImpl &Rel) const override;
105 std::error_code getRelocationAddress(DataRefImpl Rel,
107 std::error_code getRelocationOffset(DataRefImpl Rel,
109 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
110 std::error_code getRelocationType(DataRefImpl Rel,
113 getRelocationTypeName(DataRefImpl Rel,
116 getRelocationValueString(DataRefImpl Rel,
118 std::error_code getRelocationHidden(DataRefImpl Rel,
207 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
208 MachO::data_in_code_entry getDice(DataRefImpl Rel) const
    [all...]
COFF.h 360 const coff_relocation *toRel(DataRefImpl Rel) const;
402 void moveRelocationNext(DataRefImpl &Rel) const override;
403 std::error_code getRelocationAddress(DataRefImpl Rel,
405 std::error_code getRelocationOffset(DataRefImpl Rel,
407 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
408 std::error_code getRelocationType(DataRefImpl Rel,
411 getRelocationTypeName(DataRefImpl Rel,
414 getRelocationValueString(DataRefImpl Rel,
ObjectFile.h 275 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0;
276 virtual std::error_code getRelocationAddress(DataRefImpl Rel,
278 virtual std::error_code getRelocationOffset(DataRefImpl Rel,
280 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0;
281 virtual std::error_code getRelocationType(DataRefImpl Rel,
284 getRelocationTypeName(DataRefImpl Rel,
287 getRelocationValueString(DataRefImpl Rel,
289 virtual std::error_code getRelocationHidden(DataRefImpl Rel,
  /frameworks/compile/mclinker/include/mcld/Target/
ELFDynamic.h 57 typedef llvm::ELF::Elf32_Rel Rel;
75 { return sizeof(Rel); }
94 typedef llvm::ELF::Elf64_Rel Rel;
112 { return sizeof(Rel); }
  /external/chromium_org/third_party/android_crazy_linker/src/src/
elf_traits.h 23 typedef Elf32_Rel Rel;
47 typedef Elf64_Rel Rel;
crazy_linker_elf_relocations.h 70 bool ApplyRelReloc(const ELF::Rel* rel,
79 bool ApplyRelRelocs(const ELF::Rel* relocs,
crazy_linker_elf_relocations.cpp 142 // We handle only Rel or Rela, but not both. If DT_RELA or DT_RELASZ
275 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(plt_relocations_),
276 plt_relocations_size_ / sizeof(ELF::Rel),
281 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(relocations_),
282 relocations_size_ / sizeof(ELF::Rel),
389 bool ElfRelocations::ApplyRelReloc(const ELF::Rel* rel,
393 const ELF::Word rel_type = ELF_R_TYPE(rel->r_info);
394 const ELF::Word CRAZY_UNUSED rel_symbol = ELF_R_SYM(rel->r_info);
396 const ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_)
737 const ELF::Rela* rel = reinterpret_cast<ELF::Rela*>(relocations_); local
770 const ELF::Rel* rel = reinterpret_cast<ELF::Rel*>(relocations_); local
    [all...]
  /ndk/sources/android/crazy_linker/src/
elf_traits.h 23 typedef Elf32_Rel Rel;
47 typedef Elf64_Rel Rel;
crazy_linker_elf_relocations.h 70 bool ApplyRelReloc(const ELF::Rel* rel,
79 bool ApplyRelRelocs(const ELF::Rel* relocs,
crazy_linker_elf_relocations.cpp 142 // We handle only Rel or Rela, but not both. If DT_RELA or DT_RELASZ
275 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(plt_relocations_),
276 plt_relocations_size_ / sizeof(ELF::Rel),
281 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(relocations_),
282 relocations_size_ / sizeof(ELF::Rel),
389 bool ElfRelocations::ApplyRelReloc(const ELF::Rel* rel,
393 const ELF::Word rel_type = ELF_R_TYPE(rel->r_info);
394 const ELF::Word CRAZY_UNUSED rel_symbol = ELF_R_SYM(rel->r_info);
396 const ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_)
737 const ELF::Rela* rel = reinterpret_cast<ELF::Rela*>(relocations_); local
770 const ELF::Rel* rel = reinterpret_cast<ELF::Rel*>(relocations_); local
    [all...]
  /external/clang/lib/Frontend/
ModuleDependencyCollector.cpp 67 StringRef Rel = path::relative_path(P);
68 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) {
  /external/elfutils/0.153/libelf/
gelf_xlate.h 66 TYPE (Rel, LIBELFBITS)
  /external/llvm/tools/obj2yaml/
coff2yaml.cpp 69 COFFYAML::Relocation Rel;
71 Sym->getName(Rel.SymbolName);
72 Rel.VirtualAddress = reloc->VirtualAddress;
73 Rel.Type = reloc->Type;
74 Relocations.push_back(Rel);
  /bionic/linker/
linker.h 95 // Android uses RELA for aarch64 and x86_64. mips64 still uses REL.
157 ElfW(Rel)* plt_rel;
160 ElfW(Rel)* rel; member in struct:soinfo
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldELF.h 86 RelocationValueRef &Rel);
88 RelocationValueRef &Rel);
  /external/llvm/tools/yaml2obj/
yaml2elf.cpp 345 for (const auto &Rel : Section.Relocations) {
347 if (SymN2I.lookup(Rel.Symbol, SymIdx)) {
348 errs() << "error: Unknown symbol referenced: '" << Rel.Symbol
356 REntry.r_offset = Rel.Offset;
357 REntry.r_addend = Rel.Addend;
358 REntry.setSymbolAndType(SymIdx, Rel.Type);
363 REntry.r_offset = Rel.Offset;
364 REntry.setSymbolAndType(SymIdx, Rel.Type);
  /frameworks/compile/mclinker/include/mcld/ADT/
SizeTraits.h 58 typedef llvm::ELF::Elf32_Rel Rel;
79 typedef llvm::ELF::Elf64_Rel Rel;
  /frameworks/compile/mclinker/include/mcld/LD/
ELFReader.h 45 typedef llvm::ELF::Elf32_Rel Rel;
92 /// readRel - read ELF rel and create Relocation
135 typedef llvm::ELF::Elf64_Rel Rel;
182 /// readRel - read ELF rel and create Relocation
  /external/llvm/lib/Object/
COFFObjectFile.cpp 851 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
852 return reinterpret_cast<const coff_relocation*>(Rel.p);
855 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
856 Rel.p = reinterpret_cast<uintptr_t>(
857 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
860 std::error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel,
865 std::error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel,
867 Res = toRel(Rel)->VirtualAddress;
871 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
872 const coff_relocation* R = toRel(Rel);
    [all...]
MachOObjectFile.cpp 842 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
843 ++Rel.d.b;
846 std::error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel,
849 getRelocationOffset(Rel, Offset);
852 Sec.d.a = Rel.d.a;
859 std::error_code MachOObjectFile::getRelocationOffset(DataRefImpl Rel,
863 MachO::any_relocation_info RE = getRelocation(Rel);
869 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
870 MachO::any_relocation_info RE = getRelocation(Rel);
889 std::error_code MachOObjectFile::getRelocationType(DataRefImpl Rel,
    [all...]

Completed in 473 milliseconds

1 2