Searched refs:IndexOrErr (Results 1 – 8 of 8) sorted by relevance
204 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in importFunctions() local206 std::error_code EC = IndexOrErr.getError(); in importFunctions()211 auto Index = std::move(IndexOrErr.get()); in importFunctions()313 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in linkFiles() local315 std::error_code EC = IndexOrErr.getError(); in linkFiles()320 auto Index = std::move(IndexOrErr.get()); in linkFiles()
190 llvm::Expected<llvm::StringMap<std::string>> IndexOrErr = in TEST() local192 EXPECT_TRUE((bool)IndexOrErr); in TEST()193 llvm::StringMap<std::string> ParsedIndex = IndexOrErr.get(); in TEST()
290 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in createCombinedModuleSummaryIndex() local292 error(IndexOrErr, "error " + CurrentActivity); in createCombinedModuleSummaryIndex()293 std::unique_ptr<ModuleSummaryIndex> Index = std::move(IndexOrErr.get()); in createCombinedModuleSummaryIndex()360 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in loadCombinedIndex() local362 error(IndexOrErr, "error " + CurrentActivity); in loadCombinedIndex()363 return std::move(IndexOrErr.get()); in loadCombinedIndex()
365 auto IndexOrErr = getSectionIndex(Sym, Symbols, ShndxTable); in getSection() local366 if (!IndexOrErr) in getSection()367 return IndexOrErr.takeError(); in getSection()368 uint32_t Index = *IndexOrErr; in getSection()
383 auto IndexOrErr = getSectionIndex(Sym, Symbols, ShndxTable); in getSection() local384 if (!IndexOrErr) in getSection()385 return IndexOrErr.takeError(); in getSection()386 uint32_t Index = *IndexOrErr; in getSection()
706 ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in EmitAssembly() local711 if (std::error_code EC = IndexOrErr.getError()) { in EmitAssembly()717 ModuleSummary = std::move(IndexOrErr.get()); in EmitAssembly()
1541 Expected<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr = in EmitBackendOutput() local1544 if (!IndexOrErr) { in EmitBackendOutput()1545 logAllUnhandledErrors(IndexOrErr.takeError(), errs(), in EmitBackendOutput()1550 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = std::move(*IndexOrErr); in EmitBackendOutput()
3982 Expected<uint32_t> IndexOrErr = object::getExtendedSymbolTableIndex<ELFT>( in getSymbolSectionNdx() local3984 if (!IndexOrErr) { in getSymbolSectionNdx()3988 this->reportUniqueWarning(IndexOrErr.takeError()); in getSymbolSectionNdx()3991 return to_string(format_decimal(*IndexOrErr, 3)); in getSymbolSectionNdx()