/external/chromium_org/tools/relocation_packer/src/ |
H A D | run_length_encoder.h | 69 static void Encode(const std::vector<ELF::Rel>& relocations, 76 std::vector<ELF::Rel>* relocations);
|
H A D | elf_file.h | 100 // Templated packer, helper for PackRelocations(). Rel type is one of 101 // ELF::Rel or ELF::Rela. 102 template <typename Rel> 103 bool PackTypedRelocations(const std::vector<Rel>& relocations, 106 // Templated unpacker, helper for UnpackRelocations(). Rel type is one of 107 // ELF::Rel or ELF::Rela. 108 template <typename Rel>
|
H A D | packer.h | 62 static void PackRelativeRelocations(const std::vector<ELF::Rel>& relocations, 71 std::vector<ELF::Rel>* relocations);
|
H A D | run_length_encoder.cc | 18 void GetDeltas(const std::vector<ELF::Rel>& relocations, 23 const ELF::Rel* first = &relocations[i]; 26 const ELF::Rel* second = &relocations[i + 1]; 71 std::vector<ELF::Rel>* relocations) { 73 ELF::Rel initial; 88 ELF::Rel relocation; 101 void RelocationRunLengthCodec::Encode(const std::vector<ELF::Rel>& relocations, 126 std::vector<ELF::Rel>* relocations) {
|
H A D | run_length_encoder_unittest.cc | 14 void AddRelocation(ELF::Addr addr, std::vector<ELF::Rel>* relocations) { 15 ELF::Rel relocation; 21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { 32 std::vector<ELF::Rel> relocations; 91 std::vector<ELF::Rel> relocations;
|
H A D | elf_file.cc | 755 template <typename Rel> 785 const ssize_t sizeof_rel = static_cast<ssize_t>(sizeof(Rel)); 794 CHECK(dynamic->d_un.d_val == sizeof(Rel)); 806 template <typename Rel> 856 AdjustDynamicSectionForHole<Rel>(dynamic_section, hole_start, hole_size); 910 template <typename Rel> 911 void PadRelocations(size_t count, std::vector<Rel>* relocations); 914 void PadRelocations<ELF::Rel>(size_t count, 915 std::vector<ELF::Rel>* relocations) { 916 ELF::Rel null_relocatio [all...] |
H A D | elf_traits.h | 43 typedef Elf32_Rel Rel; typedef in struct:ELF 77 typedef Elf64_Rel Rel; typedef in struct:ELF
|
H A D | packer_unittest.cc | 14 void AddRelocation(ELF::Addr addr, std::vector<ELF::Rel>* relocations) { 15 ELF::Rel relocation; 21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { 51 std::vector<ELF::Rel> relocations; 96 std::vector<ELF::Rel> relocations;
|
H A D | packer.cc | 21 const std::vector<ELF::Rel>& relocations, 53 std::vector<ELF::Rel>* relocations) {
|
/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/ |
H A D | MCRelocationInfo.cpp | 25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { argument
|
/external/llvm/include/llvm/Object/ |
H A D | 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) cons 573 getRelocationAddress(DataRefImpl Rel, uint64_t &Result) const argument 591 getRelocationOffset(DataRefImpl Rel, uint64_t &Result) const argument 613 getRelocationType(DataRefImpl Rel, uint64_t &Result) const argument 637 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument 660 getRelocationAddend(DataRefImpl Rel, int64_t &Result) const argument 678 getRelocationValueString( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument [all...] |
H A D | 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) cons [all...] |
H A D | 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,
|
H A D | 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, argument
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | elf_traits.h | 25 typedef Elf32_Rel Rel; typedef in struct:ELF 54 typedef Elf64_Rel Rel; typedef in struct:ELF
|
H A D | crazy_linker_elf_relocations.h | 77 bool ApplyRelReloc(const ELF::Rel* rel, 86 bool ApplyRelRelocs(const ELF::Rel* relocs,
|
H A D | crazy_linker_elf_relocations.cpp | 172 // We handle only Rel or Rela, but not both. If DT_RELA or DT_RELASZ 314 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(plt_relocations_), 315 plt_relocations_size_ / sizeof(ELF::Rel), 320 if (!ApplyRelRelocs(reinterpret_cast<ELF::Rel*>(relocations_), 321 relocations_size_ / sizeof(ELF::Rel), 379 ELF::Rel relocation; 563 bool ElfRelocations::ApplyRelReloc(const ELF::Rel* rel, 724 bool ElfRelocations::ApplyRelRelocs(const ELF::Rel* rel, 956 const ELF::Rel* rel = reinterpret_cast<ELF::Rel*>(relocations [all...] |
/external/clang/lib/Frontend/ |
H A D | ModuleDependencyCollector.cpp | 67 StringRef Rel = path::relative_path(P); local 68 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) {
|
/external/elfutils/0.153/libelf/ |
H A D | gelf_xlate.h | 66 TYPE (Rel, LIBELFBITS)
|
/external/llvm/tools/obj2yaml/ |
H A D | coff2yaml.cpp | 69 COFFYAML::Relocation Rel; local 71 Sym->getName(Rel.SymbolName); 72 Rel.VirtualAddress = reloc->VirtualAddress; 73 Rel.Type = reloc->Type; 74 Relocations.push_back(Rel);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.h | 86 RelocationValueRef &Rel); 88 RelocationValueRef &Rel);
|
/external/llvm/tools/yaml2obj/ |
H A D | 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);
|