Searched defs:Rel (Results 1 - 13 of 13) sorted by relevance

/external/llvm/lib/MC/
H A DMCRelocationInfo.cpp25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { argument
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Delf_traits.h25 typedef Elf32_Rel Rel; typedef in struct:ELF
54 typedef Elf64_Rel Rel; typedef in struct:ELF
/external/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp67 StringRef Rel = path::relative_path(P); local
68 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) {
/external/llvm/lib/Object/
H A DELFYAML.cpp724 ELFYAML::Relocation &Rel) {
725 IO.mapRequired("Offset", Rel.Offset);
726 IO.mapRequired("Symbol", Rel.Symbol);
727 IO.mapRequired("Type", Rel.Type);
728 IO.mapOptional("Addend", Rel.Addend);
723 mapping(IO &IO, ELFYAML::Relocation &Rel) argument
H A DCOFFYAML.cpp291 COFFYAML::Relocation &Rel) {
292 IO.mapRequired("VirtualAddress", Rel.VirtualAddress);
293 IO.mapRequired("SymbolName", Rel.SymbolName);
298 IO, Rel.Type);
302 IO, Rel.Type);
305 IO.mapRequired("Type", Rel.Type);
290 mapping(IO &IO, COFFYAML::Relocation &Rel) argument
H A DCOFFObjectFile.cpp851 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, argument
865 std::error_code COFFObjectFile::getRelocationOffset(DataRefImpl Rel, argument
867 Res = toRel(Rel)->VirtualAddress;
871 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
872 const coff_relocation* R = toRel(Rel);
878 getRelocationType(DataRefImpl Rel, uint64_t &Res) const argument
906 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
982 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DMachOObjectFile.cpp842 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
843 ++Rel.d.b;
846 std::error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel, argument
849 getRelocationOffset(Rel, Offset);
852 Sec.d.a = Rel.d.a;
859 std::error_code MachOObjectFile::getRelocationOffset(DataRefImpl Rel, argument
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, argument
897 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
1010 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
1185 getRelocationHidden(DataRefImpl Rel, bool &Result) const argument
[all...]
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp34 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel,
158 const RelT *Rel,
160 R.Type = Rel->getType(Obj.isMips64EL());
161 R.Offset = Rel->r_offset;
164 auto NamePair = Obj.getRelocationSymbol(Shdr, Rel);
157 dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel, ELFYAML::Relocation &R) argument
H A Dcoff2yaml.cpp69 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/chromium_org/tools/relocation_packer/src/
H A Delf_traits.h43 typedef Elf32_Rel Rel; typedef in struct:ELF
77 typedef Elf64_Rel Rel; typedef in struct:ELF
/external/llvm/include/llvm/Object/
H A DObjectFile.h275 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
H A DELFObjectFile.h103 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...]
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp68 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel);
665 typename ELFO::Elf_Rela Rel) {
667 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName);
670 Obj->getRelocationSymbol(Sec, &Rel);
676 W.printHex("Offset", Rel.r_offset);
677 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL()));
679 W.printHex("Addend", Rel.r_addend);
682 OS << W.hex(Rel.r_offset)
685 << " " << W.hex(Rel.r_addend)
664 printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel) argument

Completed in 226 milliseconds