Lines Matching refs:Symtab
39 const Elf_Shdr *SymTab);
44 std::error_code dumpSymbols(const Elf_Shdr *Symtab,
46 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
52 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
96 const Elf_Shdr *SymTab) {
102 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable);
122 const Elf_Shdr *Symtab = nullptr;
138 Symtab = &Sec;
194 if (auto EC = dumpSymbols(Symtab, Y->Symbols))
204 ELFDumper<ELFT>::dumpSymbols(const Elf_Shdr *Symtab,
206 if (!Symtab)
209 auto StrTableOrErr = Obj.getStringTableForSymtab(*Symtab);
214 auto SymtabOrErr = Obj.symbols(Symtab);
226 if (auto EC = dumpSymbol(&Sym, Symtab, StrTable, S))
249 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab,
256 Expected<StringRef> SymbolNameOrErr = getSymbolName(Sym, StrTable, SymTab);
261 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable);
279 const Elf_Shdr *SymTab,
285 auto SymOrErr = Obj.getRelocationSymbol(Rel, SymTab);
289 auto StrTabSec = Obj.getSection(SymTab->sh_link);
298 Expected<StringRef> NameOrErr = getSymbolName(Sym, StrTab, SymTab);
370 const Elf_Shdr *SymTab = *SymTabOrErr;
377 if (std::error_code EC = dumpRelocation(&Rel, SymTab, R))
397 const Elf_Shdr *SymTab = *SymTabOrErr;
404 if (std::error_code EC = dumpRelocation(&Rel, SymTab, R))
452 const Elf_Shdr *Symtab = *SymtabOrErr;
453 auto SymOrErr = Obj.getSymbol(Symtab, Shdr->sh_info);
457 auto StrTabOrErr = Obj.getStringTableForSymtab(*Symtab);
464 Expected<StringRef> symbolName = getSymbolName(symbol, StrTab, Symtab);