Searched refs:StrTabOrErr (Results 1 – 7 of 7) sorted by relevance
188 Expected<StringRef> StrTabOrErr = getDynamicStrTab(Elf); in printDynamicSection() local189 if (StrTabOrErr) { in printDynamicSection()190 const char *Data = StrTabOrErr.get().data(); in printDynamicSection()194 reportWarning(toString(StrTabOrErr.takeError()), Filename); in printDynamicSection()195 consumeError(StrTabOrErr.takeError()); in printDynamicSection()
218 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTable(*StrTabSec); in dumpRelocation() local219 if (std::error_code EC = StrTabOrErr.getError()) in dumpRelocation()221 StringRef StrTab = *StrTabOrErr; in dumpRelocation()367 ErrorOr<StringRef> StrTabOrErr = Obj.getStringTableForSymtab(*Symtab); in dumpGroup() local368 if (std::error_code EC = StrTabOrErr.getError()) in dumpGroup()370 StringRef StrTab = *StrTabOrErr; in dumpGroup()
716 auto StrTabOrErr = Obj.getStringTable(**StrTabSec); in dumpRelocation() local717 if (!StrTabOrErr) in dumpRelocation()718 return StrTabOrErr.takeError(); in dumpRelocation()721 getUniquedSymbolName(Sym, *StrTabOrErr, SymTab); in dumpRelocation()1449 auto StrTabOrErr = Obj.getStringTableForSymtab(*Symtab); in getSymbolName() local1450 if (!StrTabOrErr) in getSymbolName()1451 return StrTabOrErr.takeError(); in getSymbolName()1452 return getUniquedSymbolName(*SymOrErr, *StrTabOrErr, Symtab); in getSymbolName()
463 Expected<StringRef> StrTabOrErr = Obj.getStringTable(**StrTabSecOrErr); in getLinkAsStrtab() local464 if (!StrTabOrErr) in getLinkAsStrtab()466 ": " + toString(StrTabOrErr.takeError())); in getLinkAsStrtab()467 return *StrTabOrErr; in getLinkAsStrtab()489 Expected<StringRef> StrTabOrErr = getLinkAsStrtab(Obj, **SymtabOrErr); in getLinkAsSymtab() local490 if (!StrTabOrErr) in getLinkAsSymtab()493 describe(Obj, Sec) + ": " + toString(StrTabOrErr.takeError())); in getLinkAsSymtab()500 return std::make_pair(*SymsOrErr, *StrTabOrErr); in getLinkAsSymtab()540 Expected<StringRef> StrTabOrErr = getLinkAsStrtab(Obj, Sec); in getVersionDefinitions() local541 if (!StrTabOrErr) in getVersionDefinitions()[all …]
461 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName() local462 if (!StrTabOrErr) in getSymbolName()463 return StrTabOrErr.takeError(); in getSymbolName()464 const Elf_Shdr *StringTableSec = *StrTabOrErr; in getSymbolName()
507 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName() local508 if (!StrTabOrErr) in getSymbolName()509 return StrTabOrErr.takeError(); in getSymbolName()510 const Elf_Shdr *StringTableSec = *StrTabOrErr; in getSymbolName()
511 ErrorOr<StringRef> StrTabOrErr = EF.getStringTable(*StrTabSec); in getRelocationValueString() local512 if (std::error_code EC = StrTabOrErr.getError()) in getRelocationValueString()514 StringRef StrTab = *StrTabOrErr; in getRelocationValueString()