Home
last modified time | relevance | path

Searched refs:Elf_Sym (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/Object/
DELF.h45 typedef Elf_Sym_Impl<ELFT> Elf_Sym; typedef
59 typedef iterator_range<const Elf_Sym *> Elf_Sym_Range;
91 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel,
125 const Elf_Sym *symbol_begin(const Elf_Shdr *Sec) const { in symbol_begin()
128 if (Sec->sh_entsize != sizeof(Elf_Sym)) in symbol_begin()
130 return reinterpret_cast<const Elf_Sym *>(base() + Sec->sh_offset); in symbol_begin()
132 const Elf_Sym *symbol_end(const Elf_Shdr *Sec) const { in symbol_end()
136 if (Size % sizeof(Elf_Sym)) in symbol_end()
138 return symbol_begin(Sec) + Size / sizeof(Elf_Sym); in symbol_end()
200 uint32_t getExtendedSymbolTableIndex(const Elf_Sym *Sym,
[all …]
DELFObjectFile.h185 typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym; typedef
209 ErrorOr<section_iterator> getSymbolSection(const Elf_Sym *Symb,
280 bool isExportedToOtherDSO(const Elf_Sym *ESym) const { in isExportedToOtherDSO()
305 const Elf_Sym *getSymbol(DataRefImpl Sym) const { in getSymbol()
306 return EF.template getEntry<Elf_Sym>(Sym.d.a, Sym.d.b); in getSymbol()
358 const Elf_Sym *ESym = getSymbol(Sym); in getSymbolName()
377 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolValueImpl()
395 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolAddress()
421 const Elf_Sym *Sym = getSymbol(Symb); in getSymbolAlignment()
449 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolType()
[all …]
/external/valgrind/VEX/unused/
Dlinker.c121 #define Elf_Sym Elf64_Sym macro
136 #define Elf_Sym Elf32_Sym macro
421 Elf_Sym* stab, char* strtab ) in do_Elf_Rel_relocations()
431 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); in do_Elf_Rel_relocations()
452 Elf_Sym sym = stab[ELF_R_SYM(info)]; in do_Elf_Rel_relocations()
547 Elf_Sym* stab, char* strtab ) in do_Elf_Rela_relocations()
557 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset); in do_Elf_Rela_relocations()
587 Elf_Sym sym = stab[ELF_R_SYM(info)]; in do_Elf_Rela_relocations()
712 Elf_Sym* stab = NULL; in ocResolve_ELF()
719 stab = (Elf_Sym*) findElfSection ( ehdrC, SHT_SYMTAB ); in ocResolve_ELF()
[all …]
/external/valgrind/VEX/switchback/
Dlinker.c187 #define Elf_Sym Elf64_Sym
202 #define Elf_Sym Elf32_Sym
517 Elf_Sym* stab, char* strtab )
527 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
548 Elf_Sym sym = stab[ELF_R_SYM(info)];
643 Elf_Sym* stab, char* strtab )
653 stab = (Elf_Sym*) (ehdrC + shdr[ symtab_shndx ].sh_offset);
694 Elf_Sym sym = stab[ELF_R_SYM(info)];
872 Elf_Sym* stab = NULL;
879 stab = (Elf_Sym*) findElfSection ( ehdrC, SHT_SYMTAB );
[all …]
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp73 typedef typename ELFO::Elf_Sym Elf_Sym; typedef in __anon07d3185e0111::ELFDumper
104 void printSymbol(const Elf_Sym *Symbol, const Elf_Shdr *SymTab,
125 StringRef getSymbolVersion(StringRef StrTab, const Elf_Sym *symb,
135 const Elf_Sym *DynSymStart = nullptr;
177 std::string getFullSymbolName(const Elf_Sym *Symbol, StringRef StrTable,
331 for (const typename ELFO::Elf_Sym &Sym : Obj->symbols(DynSymSec)) { in printVersionSymbolSection()
399 const Elf_Sym *symb, in getSymbolVersion()
411 sizeof(Elf_Sym); in getSymbolVersion()
447 std::string ELFDumper<ELFT>::getFullSymbolName(const Elf_Sym *Symbol, in getFullSymbolName()
465 getSectionNameIndex(const ELFO &Obj, const typename ELFO::Elf_Sym *Symbol, in getSectionNameIndex()
[all …]
DARMEHABIPrinter.h308 typedef typename object::ELFFile<ET>::Elf_Sym Elf_Sym; typedef
355 for (const Elf_Sym &Sym : ELF->symbols(Symtab)) in FunctionAtAddress()
391 const Elf_Sym *Symbol = ELF->getRelocationSymbol(&RelA, SymTab); in FindExceptionTable()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp103 typedef typename object::ELFFile<ELFT>::Elf_Sym Elf_Sym; typedef in __anonfe6449970311::ELFState
129 std::vector<Elf_Sym> &Syms, unsigned SymbolBinding);
271 SHeader.sh_entsize = sizeof(Elf_Sym); in initSymtabSectionHeader()
274 std::vector<Elf_Sym> Syms; in initSymtabSectionHeader()
277 Elf_Sym Sym; in initSymtabSectionHeader()
316 std::vector<Elf_Sym> &Syms, in addSymbols()
319 Elf_Sym Symbol; in addSymbols()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anone32646570111::ELFDumper
31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
143 for (const Elf_Sym &Sym : Obj.symbols(Symtab)) { in dump()
175 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol()
211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab); in dumpRelocation()
363 const Elf_Sym *symbol = Obj.getSymbol(Symtab, Shdr->sh_info); in dumpGroup()
/external/google-breakpad/src/common/solaris/
Ddump_symbols.cc57 typedef Elf64_Sym Elf_Sym; typedef
59 typedef Elf32_Sym Elf_Sym; typedef
465 Elf_Sym *symbol = (Elf_Sym *)((char *)base + symtab_section.sh_offset); in LoadSymbols()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp383 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString() typedef
423 const Elf_Sym *symb = Obj->getSymbol(SI->getRawDataRefImpl()); in getRelocationValueString()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp46 typedef Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anon5796c0730111::DyldELFObject
98 Elf_Sym *sym = const_cast<Elf_Sym *>( in updateSymbolAddress()