Searched refs:Err (Results 126 - 150 of 249) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.cpp94 SMDiagnostic Err; local
95 std::unique_ptr<Module> Result = parseIRFile(Filename, Err, Ctxt);
97 Err.print("bugpoint", errs());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h138 if (auto Err = CtorDtorSym.takeError())
139 return Err;
319 Error &Err);
H A DRTDyldObjectLinkingLayer.h126 MaterializationResponsibility &R, Error Err);
278 if (auto Err = this->finalize())
279 return std::move(Err);
432 else if (auto Err = Sym.takeError())
433 return std::move(Err);
H A DCore.h625 /// if (auto Err = JD.define(absoluteSymbols({{Foo, FooSym}})))
626 /// return Err;
669 /// if (auto Err = JD.define(symbolAliases({
672 /// return Err;
757 void handleFailed(Error Err);
1118 void reportError(Error Err) { ReportError(std::move(Err)); } argument
1127 void legacyFailQuery(AsynchronousSymbolQuery &Q, Error Err);
1210 static void logErrorsToStdErr(Error Err) { argument
1211 logAllUnhandledErrors(std::move(Err), err
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAArch64TargetParser.cpp220 // returned in `PBP`. Returns false in error, with `Err` containing
223 StringRef &Err) {
256 Err = "<empty>";
258 Err = Opt;
222 parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP, StringRef &Err) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp173 llvm::Error Err = (*FileToReplaces)[Replace.getFilePath()].add(Replace); local
174 if (Err) {
176 << llvm::toString(std::move(Err)) << "\n";
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h68 /// Error Err;
69 /// for (const llvm::object::ExportEntry &AnExport : Obj->exports(&Err)) {
71 /// if (Err) { report error ...
74 ExportEntry(Error *Err, const MachOObjectFile *O, ArrayRef<uint8_t> Trie);
163 /// Error Err;
164 /// for (const llvm::object::MachORebaseEntry &Entry : Obj->rebaseTable(&Err)) {
166 /// if (Err) { report error ...
169 MachORebaseEntry(Error *Err, const MachOObjectFile *O,
207 /// Error Err;
208 /// for (const llvm::object::MachOBindEntry &Entry : Obj->bindTable(&Err)) {
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp244 llvm::Error Err = InlineInfo::lookup(GR, *InlineInfoData, FuncAddr, Addr,
246 if (Err)
247 return std::move(Err);
H A DGsymCreator.cpp94 llvm::Error Err = Hdr.encode(O); local
95 if (Err)
96 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h303 InstrProfError(instrprof_error Err) : Err(Err) { argument
304 assert(Err != instrprof_error::success && "Not an error");
312 return make_error_code(Err);
315 instrprof_error get() const { return Err; }
320 auto Err = instrprof_error::success; local
321 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) {
322 assert(Err == instrprof_error::success && "Multiple errors encountered");
323 Err
331 instrprof_error Err; member in class:llvm::InstrProfError
[all...]
H A DInstrProfReader.h101 Error error(instrprof_error Err) { argument
102 LastError = Err;
103 if (Err == instrprof_error::success)
105 return make_error<InstrProfError>(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp378 LLVM_ATTRIBUTE_NORETURN void reportError(Error Err, StringRef Input) { argument
379 assert(Err);
382 handleAllErrors(createFileError(Input, std::move(Err)),
387 void reportWarning(Error Err, StringRef Input) { argument
388 assert(Err);
396 createFileError(Input, std::move(Err)), [&](const ErrorInfoBase &EI) {
558 Error Err = Error::success(); local
559 for (auto &Child : Arc->children(Err)) {
574 if (Err)
575 reportError(std::move(Err), Ar
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp390 void AsynchronousSymbolQuery::handleFailed(Error Err) { argument
394 NotifyComplete(std::move(Err));
463 if (auto Err = JD.emit(SymbolFlags))
464 return Err;
712 if (auto Err = QueryInfo->R.notifyResolved(ResolutionMap)) {
713 ES.reportError(std::move(Err));
717 if (auto Err = QueryInfo->R.notifyEmitted()) {
718 ES.reportError(std::move(Err));
1457 if (auto Err = DG->tryToGenerate(K, *this, JDLookupFlags, LookupSet))
1458 return std::move(Err);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp179 if (auto Err = PB.parseAAPipeline(AA, "default"))
238 if (auto Err = PB.parseAAPipeline(AA, AAPipelineDesc))
240 AAPipelineDesc + "': " + toString(std::move(Err)));
263 if (auto Err = PB.parsePassPipeline(MPM, PipelineDesc))
265 PipelineDesc + "': " + toString(std::move(Err)));
556 if (Error Err = Importer.importFunctions(Mod, ImportList).takeError())
557 return Err;
H A DLTO.cpp602 if (Error Err = addModule(*Input, I, ResI, Res.end()))
603 return Err;
644 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "", -1ull))
645 return Err;
696 if (Error Err = M.materializeMetadata())
697 return std::move(Err);
831 if (Error Err =
834 return Err;
957 if (Error Err = linkRegularLTO(std::move(M),
959 return Err;
1080 Optional<Error> Err; member in class:__anon90::InProcessThinBackend
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp151 SMDiagnostic Err; local
156 getLazyIRFileModule(FileName, Err, Context,
159 Err.print("function-import", errs());
1140 if (Error Err = SrcModule->materializeMetadata())
1141 return std::move(Err);
1155 if (Error Err = F.materialize())
1156 return std::move(Err);
1177 if (Error Err = GV.materialize())
1178 return std::move(Err);
1191 if (Error Err
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp199 FILE *Out, FILE *Err)
211 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err);
287 FILE *Out, FILE *Err)
198 LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, FILE *Out, FILE *Err) argument
286 LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, FILE *Out, FILE *Err) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp131 if (auto Err = resolveExternalSymbols()) {
133 ErrorStr = toString(std::move(Err));
193 if (auto Err = computeTotalAllocSize(Obj,
197 return std::move(Err);
321 if (auto Err = getOffset(*I, *SI, SectOffset))
322 return std::move(Err);
342 if (auto Err = emitCommonSymbols(Obj, CommonSymbolsToAllocate, CommonSize,
344 return std::move(Err);
434 if (auto Err = finalizeLoad(Obj, LocalSections))
435 return std::move(Err);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp142 SMDiagnostic Err; local
143 std::unique_ptr<Module> M = getLazyIRFileModule(InputFilename, Err, Context);
146 Err.print(argv[0], errs());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp160 if (Error Err = addSymbol(Msymtab, Used, Msym))
161 return Err;
318 if (Error Err = addModule(M))
319 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LineEditor/
H A DLineEditor.h32 /// \param Err The error stream used by the editor.
34 FILE *Out = stdout, FILE *Err = stderr);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h427 if (Error Err = ReadAbbrevRecord())
428 return std::move(Err);
450 if (Error Err = SkipBlock())
451 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DStencil.cpp181 if (auto Err = NodeOrErr.takeError())
182 return Err;
276 if (auto Err = S->eval(Match, Result))
277 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DAArch64TargetParser.h133 StringRef &Err);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp39 ExitOnError Err("Unexpected error: ");
41 auto &Dbi = Err(File.getPDBDbiStream());
277 if (auto Err = loadDataForPDB(PDB_ReaderType::Native, Path, Session))
278 return std::move(Err);

Completed in 308 milliseconds

12345678910