Searched refs:ShdrOrErr (Results 1 – 2 of 2) sorted by relevance
102 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in getSymbolName() local103 if (!ShdrOrErr) in getSymbolName()104 return ShdrOrErr.takeError(); in getSymbolName()105 return getUniquedSectionName(*ShdrOrErr); in getSymbolName()261 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol() local262 if (!ShdrOrErr) in dumpSymbol()263 return errorToErrorCode(ShdrOrErr.takeError()); in dumpSymbol()264 const Elf_Shdr *Shdr = *ShdrOrErr; in dumpSymbol()
187 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol() local188 if (std::error_code EC = ShdrOrErr.getError()) in dumpSymbol()190 const Elf_Shdr *Shdr = *ShdrOrErr; in dumpSymbol()