Lines Matching refs:NameOrErr
194 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol() local
195 if (std::error_code EC = NameOrErr.getError()) in dumpSymbol()
197 S.Section = NameOrErr.get(); in dumpSymbol()
220 Expected<StringRef> NameOrErr = Sym->getName(StrTab); in dumpRelocation() local
221 if (!NameOrErr) in dumpRelocation()
222 return errorToErrorCode(NameOrErr.takeError()); in dumpRelocation()
223 R.Symbol = NameOrErr.get(); in dumpRelocation()
236 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection() local
237 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection()
239 S.Name = NameOrErr.get(); in dumpCommonSection()
245 NameOrErr = Obj.getSectionName(*LinkSection); in dumpCommonSection()
246 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection()
248 S.Link = NameOrErr.get(); in dumpCommonSection()
265 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(*InfoSection); in dumpCommonRelocationSection() local
266 if (std::error_code EC = NameOrErr.getError()) in dumpCommonRelocationSection()
268 S.Info = NameOrErr.get(); in dumpCommonRelocationSection()