Lines Matching refs:SecOrErr
971 Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(SectionIndex); in getSymbolSectionName() local
972 if (!SecOrErr) in getSymbolSectionName()
973 return SecOrErr.takeError(); in getSymbolSectionName()
974 return Obj.getSectionName(**SecOrErr); in getSymbolSectionName()
3463 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) { in getGroups() local
3464 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx}); in getGroups()
3468 ": " + toString(SecOrErr.takeError())); in getGroups()
5996 if (Expected<const Elf_Shdr *> SecOrErr = in getSymbolIndexesForFunctionAddress() local
5999 if (*FunctionSec != *SecOrErr) in getSymbolIndexesForFunctionAddress()
6006 "': " + toString(SecOrErr.takeError())); in getSymbolIndexesForFunctionAddress()
6410 if (Expected<const Elf_Mips_ABIFlags<ELFT> *> SecOrErr = in printMipsABIFlags() local
6412 Flags = *SecOrErr; in printMipsABIFlags()
6414 this->reportUniqueWarning(SecOrErr.takeError()); in printMipsABIFlags()
7449 if (Expected<const Elf_Mips_ABIFlags<ELFT> *> SecOrErr = in printMipsABIFlags() local
7451 Flags = *SecOrErr; in printMipsABIFlags()
7457 this->reportUniqueWarning(SecOrErr.takeError()); in printMipsABIFlags()