Lines Matching refs:NameOrErr
254 Expected<StringRef> NameOrErr = C.getName(); in error() local
258 if (!NameOrErr) { in error()
259 consumeError(NameOrErr.takeError()); in error()
262 errs() << "(" << NameOrErr.get() << ")"; in error()
540 if (Expected<StringRef> NameOrErr = MachO->getSectionName(Ref)) in darwinPrintSymbol() local
541 SectionName = *NameOrErr; in darwinPrintSymbol()
949 auto NameOrErr = SecI->getName(); in getSymbolNMTypeChar() local
950 if (!NameOrErr) { in getSymbolNMTypeChar()
951 consumeError(NameOrErr.takeError()); in getSymbolNMTypeChar()
954 if ((*NameOrErr).startswith(".debug")) in getSymbolNMTypeChar()
992 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Section)) in getSymbolNMTypeChar() local
993 if (NameOrErr->startswith(".idata")) in getSymbolNMTypeChar()
1054 if (Expected<StringRef> NameOrErr = Obj.getSectionName(Ref)) in getSymbolNMTypeChar() local
1055 SectionName = *NameOrErr; in getSymbolNMTypeChar()
1137 Expected<StringRef> NameOrErr = (*SecIOrErr)->getName(); in getNMSectionTagAndName() local
1138 if (!NameOrErr) { in getNMSectionTagAndName()
1139 consumeError(NameOrErr.takeError()); in getNMSectionTagAndName()
1142 SecName = *NameOrErr; in getNMSectionTagAndName()
1198 if (Expected<StringRef> NameOrErr = Obj->getSectionName(Ref)) in getNsectForSegSect() local
1199 SectionName = *NameOrErr; in getNsectForSegSect()
1407 if (Expected<StringRef> NameOrErr = Section.getName()) local
1408 SectionName = *NameOrErr;
1410 consumeError(NameOrErr.takeError());
1730 if (Expected<StringRef> NameOrErr = Section.getName()) local
1731 SectionName = *NameOrErr;
1733 consumeError(NameOrErr.takeError());