Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Object/
DELF.h45 typedef Elf_Sym_Impl<ELFT> Elf_Sym; typedef
96 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel,
118 const Elf_Sym *symbol_begin(const Elf_Shdr *Sec) const { in symbol_begin()
121 if (Sec->sh_entsize != sizeof(Elf_Sym)) in symbol_begin()
123 return reinterpret_cast<const Elf_Sym *>(base() + Sec->sh_offset); in symbol_begin()
125 const Elf_Sym *symbol_end(const Elf_Shdr *Sec) const { in symbol_end()
129 if (Size % sizeof(Elf_Sym)) in symbol_end()
131 return symbol_begin(Sec) + Size / sizeof(Elf_Sym); in symbol_end()
188 uint32_t getExtendedSymbolTableIndex(const Elf_Sym *Sym,
191 uint32_t getExtendedSymbolTableIndex(const Elf_Sym *Sym,
[all …]
DELFObjectFile.h194 typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym; typedef
218 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
290 bool isExportedToOtherDSO(const Elf_Sym *ESym) const { in isExportedToOtherDSO()
313 const Elf_Sym *getSymbol(DataRefImpl Sym) const { in getSymbol()
314 return EF.template getEntry<Elf_Sym>(Sym.d.a, Sym.d.b); in getSymbol()
366 const Elf_Sym *ESym = getSymbol(Sym); in getSymbolName()
385 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolValueImpl()
403 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolAddress()
429 const Elf_Sym *Sym = getSymbol(Symb); in getSymbolAlignment()
463 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h59 using Elf_Sym = typename ELFT::Sym; variable
122 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel,
145 return makeArrayRef<Elf_Sym>(nullptr, nullptr); in symbols()
146 return getSectionContentsAsArray<Elf_Sym>(Sec); in symbols()
246 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms,
248 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
251 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
257 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec,
297 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, in getSectionIndex()
314 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection()
[all …]
DELFObjectFile.h214 using Elf_Sym = typename ELFT::Sym; variable
243 Expected<section_iterator> getSymbolSection(const Elf_Sym *Symb,
327 bool isExportedToOtherDSO(const Elf_Sym *ESym) const { in isExportedToOtherDSO()
351 const Elf_Sym *getSymbol(DataRefImpl Sym) const { in getSymbol()
352 auto Ret = EF.template getEntry<Elf_Sym>(Sym.d.a, Sym.d.b); in getSymbol()
427 const Elf_Sym *ESym = getSymbol(Sym); in getSymbolName()
459 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolValueImpl()
477 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolAddress()
505 const Elf_Sym *Sym = getSymbol(Symb); in getSymbolAlignment()
543 const Elf_Sym *ESym = getSymbol(Symb); in getSymbolType()
[all …]
/external/swiftshader/third_party/LLVM/lib/Object/
DELFObjectFile.cpp262 typedef Elf_Sym_Impl<target_endianness, is64Bits> Elf_Sym; typedef in __anon198eba5b0611::ELFObjectFile
299 DenseMap<const Elf_Sym*, ELF::Elf64_Word> ExtendedSymbolTable;
316 const Elf_Sym *getSymbol(DataRefImpl Symb) const;
323 error_code getSymbolName(const Elf_Sym *Symb, StringRef &Res) const;
378 ELF::Elf64_Word getSymbolTableIndex(const Elf_Sym *symb) const;
379 const Elf_Shdr *getSection(const Elf_Sym *symb) const;
386 const Elf_Sym *symb = getSymbol(Symb); in validateSymbol()
393 && symb >= (const Elf_Sym*)(base() in validateSymbol()
395 && symb < (const Elf_Sym*)(base() in validateSymbol()
431 const Elf_Sym *symb = getSymbol(Symb); in getSymbolName()
[all …]
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp54 typedef typename ELFO::Elf_Sym Elf_Sym; \
133 typedef typename ELFO::Elf_Sym Elf_Sym; typedef in __anon79be9f670111::ELFDumper
174 StringRef getSymbolVersion(StringRef StrTab, const Elf_Sym *symb,
227 return DynSymRegion.getAsArrayRef<Elf_Sym>(); in dynamic_symbols()
232 std::string getFullSymbolName(const Elf_Sym *Symbol, StringRef StrTable,
275 using Elf_Sym = typename ELFFile<ELFT>::Elf_Sym; typedef in __anon79be9f670111::DumpStyle
290 virtual void printSymbol(const ELFFile<ELFT> *Obj, const Elf_Sym *Symbol,
291 const Elf_Sym *FirstSym, StringRef StrTable,
343 void printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *First,
345 std::string getSymbolSectionNdx(const ELFO *Obj, const Elf_Sym *Symbol,
[all …]
DARMEHABIPrinter.h309 typedef typename object::ELFFile<ET>::Elf_Sym Elf_Sym; typedef
356 for (const Elf_Sym &Sym : ELF->symbols(Symtab)) in FunctionAtAddress()
399 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 __anon210407000311::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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp84 using Elf_Sym = typename ELFT::Sym; \
203 StringRef getSymbolVersion(StringRef StrTab, const Elf_Sym *symb,
260 return DynSymRegion.getAsArrayRef<Elf_Sym>(); in dynamic_symbols()
266 std::string getFullSymbolName(const Elf_Sym *Symbol, StringRef StrTable,
268 void getSectionNameIndex(const Elf_Sym *Symbol, const Elf_Sym *FirstSym,
318 using Elf_Sym = typename ELFT::Sym; typedef in __anond329e2bf0111::DumpStyle
332 virtual void printSymbol(const ELFFile<ELFT> *Obj, const Elf_Sym *Symbol,
333 const Elf_Sym *FirstSym, StringRef StrTable,
400 void printHashedSymbol(const ELFO *Obj, const Elf_Sym *FirstSym, uint32_t Sym,
405 void printSymbol(const ELFO *Obj, const Elf_Sym *Symbol, const Elf_Sym *First,
[all …]
DARMEHABIPrinter.h326 typedef typename ET::Sym Elf_Sym; typedef
374 for (const Elf_Sym &Sym : unwrapOrError(ELF->symbols(Symtab))) in FunctionAtAddress()
418 const Elf_Sym *Symbol = in FindExceptionTable()
/external/u-boot/tools/
Dprelink-riscv.inc21 #define Elf_Sym CONCAT3(Elf, PRELINK_INC_BITS, _Sym)
63 Elf_Sym *dynsym = NULL;
103 #undef Elf_Sym
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Delf2yaml.cpp24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anon866bd0180111::ELFDumper
38 Expected<StringRef> getSymbolName(const Elf_Sym *Sym, StringRef StrTable,
46 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
94 Expected<StringRef> ELFDumper<ELFT>::getSymbolName(const Elf_Sym *Sym, in getSymbolName()
249 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol()
288 const Elf_Sym *Sym = *SymOrErr; in dumpRelocation()
456 const Elf_Sym *symbol = *SymOrErr; in dumpGroup()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anon05c603c00111::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/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2elf.cpp114 typedef typename ELFT::Sym Elf_Sym; typedef in __anona1a9d3580311::ELFState
150 std::vector<Elf_Sym> &Syms, unsigned SymbolBinding,
315 SHeader.sh_entsize = sizeof(Elf_Sym); in initSymtabSectionHeader()
318 std::vector<Elf_Sym> Syms; in initSymtabSectionHeader()
321 Elf_Sym Sym; in initSymtabSectionHeader()
424 std::vector<Elf_Sym> &Syms, in addSymbols()
428 Elf_Sym Symbol; in addSymbols()
/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.cpp492 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString() typedef
532 const Elf_Sym *symb = Obj->getSymbol(SI->getRawDataRefImpl()); in getRelocationValueString()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp39 typedef Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anon49db9fbc0111::DyldELFObject
91 Elf_Sym *sym = const_cast<Elf_Sym *>( in updateSymbolAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp62 typedef Elf_Sym_Impl<ELFT> Elf_Sym; typedef in __anon93dcc9140111::DyldELFObject
128 Elf_Sym *sym = const_cast<Elf_Sym *>( in updateSymbolAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp451 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString() typedef
496 const Elf_Sym *symb = Obj->getSymbol(SI->getRawDataRefImpl()); in getRelocationValueString()