Lines Matching refs:SYMTAB
104 void printSymbol(const Elf_Sym *Symbol, const Elf_Shdr *SymTab,
108 void printRelocation(Elf_Rela Rel, const Elf_Shdr *SymTab);
288 // If there is no dynamic symtab or version table, there is nothing to do.
466 const typename ELFO::Elf_Shdr *SymTab,
485 Obj.getExtendedSymbolTableIndex(Symbol, SymTab, ShndxTable);
1114 const Elf_Shdr *Symtab = DotSymtabSec;
1115 ErrorOr<StringRef> StrTableOrErr = Obj->getStringTableForSymtab(*Symtab);
1119 for (const Elf_Sym &Sym : Obj->symbols(Symtab)) {
1121 Obj->getSection(&Sym, Symtab, ShndxTable);
1125 printSymbol(&Sym, Symtab, StrTable, false);
1193 const Elf_Shdr *SymTab = *SymTabOrErr;
1202 printRelocation(Rela, SymTab);
1207 printRelocation(R, SymTab);
1213 void ELFDumper<ELFT>::printRelocation(Elf_Rela Rel, const Elf_Shdr *SymTab) {
1217 const Elf_Sym *Sym = Obj->getRelocationSymbol(&Rel, SymTab);
1219 ErrorOr<const Elf_Shdr *> Sec = Obj->getSection(Sym, SymTab, ShndxTable);
1225 ErrorOr<StringRef> StrTableOrErr = Obj->getStringTableForSymtab(*SymTab);
1247 const Elf_Shdr *Symtab = (IsDynamic) ? DotDynSymSec : DotSymtabSec;
1248 if (!Symtab)
1250 ErrorOr<StringRef> StrTableOrErr = Obj->getStringTableForSymtab(*Symtab);
1253 for (const Elf_Sym &Sym : Obj->symbols(Symtab))
1254 printSymbol(&Sym, Symtab, StrTable, IsDynamic);
1270 void ELFDumper<ELFT>::printSymbol(const Elf_Sym *Symbol, const Elf_Shdr *SymTab,
1274 getSectionNameIndex(*Obj, Symbol, SymTab, ShndxTable, SectionName,
1331 LLVM_READOBJ_TYPE_CASE(SYMTAB);