Lines Matching refs:NameOrErr
197 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol() local
198 if (std::error_code EC = NameOrErr.getError()) in dumpSymbol()
200 S.Section = NameOrErr.get(); in dumpSymbol()
223 Expected<StringRef> NameOrErr = Sym->getName(StrTab); in dumpRelocation() local
224 if (!NameOrErr) in dumpRelocation()
225 return errorToErrorCode(NameOrErr.takeError()); in dumpRelocation()
226 R.Symbol = NameOrErr.get(); in dumpRelocation()
239 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection() local
240 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection()
242 S.Name = NameOrErr.get(); in dumpCommonSection()
248 NameOrErr = Obj.getSectionName(*LinkSection); in dumpCommonSection()
249 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection()
251 S.Link = NameOrErr.get(); in dumpCommonSection()
268 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(*InfoSection); in dumpCommonRelocationSection() local
269 if (std::error_code EC = NameOrErr.getError()) in dumpCommonRelocationSection()
271 S.Info = NameOrErr.get(); in dumpCommonRelocationSection()