Searched refs:Err (Results 176 - 200 of 249) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp394 SMDiagnostic Err; local
412 MIR = createMIRParserFromFile(InputFilename, Err, Context,
417 M = parseIRFile(InputFilename, Err, Context, false);
419 Err.print(argv[0], WithColor::error(errs(), argv[0]));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp131 static bool ParseError(const char *Err, const std::string &Line) { argument
132 Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetRPCAPI.h95 if (auto Err = deserializeSeq(C, JITFlags, TargetFlags))
96 return Err;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp133 if (llvm::Error Err = FixAction->Execute()) {
135 consumeError(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp384 std::string Err; local
386 const auto *T = TargetRegistry::lookupTarget(Triple.str(), Err);
H A DArchiveWriter.cpp512 std::error_code Err = sys::fs::make_absolute(Ret); local
513 if (Err)
514 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp706 std::move(E), [](std::unique_ptr<InstrProfError> Err) {
707 return Err->get() == instrprof_error::unknown_function
709 : Error(std::move(Err));
875 Error Err = Remapper->getRecords(FuncName, Data);
876 if (Err)
877 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp51 LLVM_ATTRIBUTE_NORETURN static void error(Error Err) { argument
52 logAllUnhandledErrors(std::move(Err), WithColor::error(outs()),
500 Error Err = Error::success(); local
501 for (auto &ArcC : Arc->children(Err)) {
521 if (Err)
522 error(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp171 if (auto Err = PhdrsOrErr.takeError())
172 return createFileError(Config.InputFilename, std::move(Err));
177 Error Err = Error::success(); local
178 for (auto Note : In.notes(Phdr, Err))
181 if (Err)
182 return createFileError(Config.InputFilename, std::move(Err));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1154 if (llvm::Error Err = Cursor.JumpToBit(Offset)) {
1155 Error(std::move(Err));
1204 if (llvm::Error Err = Cursor.JumpToBit(Offset)) {
1205 Error(std::move(Err));
1259 void ASTReader::Error(llvm::Error &&Err) const {
1260 Error(toString(std::move(Err)));
1326 if (llvm::Error Err = F.Stream.SkipBlock()) {
1327 Error(std::move(Err));
1332 if (llvm::Error Err =
1334 Error(std::move(Err));
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp778 ExitOnError Err("Invalid " + std::string(SectionName) + " section!");
783 Err(Reader.readInteger(Magic));
788 Err(Reader.readArray(Types, Reader.bytesRemaining()));
790 auto CVT = Err(LeafRecord::fromCodeViewRecord(T));
809 ExitOnError Err("Error writing type record to " + std::string(SectionName) +
811 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC));
813 Err(Writer.writeBytes(R));
H A DCOFFEmitter.cpp183 ExitOnError Err("Error occurred writing .debug$S section");
185 Err(CodeViewYAML::toCodeViewSubsectionList(Allocator, Subsections, SC));
198 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC));
200 Err(B.commit(Writer));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1297 auto Err = Result.add(tooling::Replacement(
1301 if (Err) {
1302 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
1661 auto Err = local
1665 if (Err) {
1666 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
1980 auto Err = Replaces.add(tooling::Replacement(
1984 if (Err) {
1985 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
2149 auto Err
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DDependencyDirectivesSourceMinimizer.cpp98 bool reportError(const char *CurPtr, unsigned Err);
108 bool Minimizer::reportError(const char *CurPtr, unsigned Err) { argument
112 Diags->Report(InputSourceLoc.getLocWithOffset(CurPtr - Input.data()), Err);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp164 static std::string getReplacementErrString(replacement_error Err) { argument
165 switch (Err) {
181 std::string Message = getReplacementErrString(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp328 } else if (auto Err = Sym.takeError())
616 } else if (auto Err = Sym.takeError())
617 report_fatal_error(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp471 Error Err = Error::success(); local
472 for (auto Child : Arch.children(Err)) {
480 error(Filename, errorToErrorCode(std::move(Err)));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp501 if (Error Err =
503 return std::move(Err);
1146 if (Error Err = LT.parse(DebugLineData, &Offset, Context, U,
1148 UnrecoverableErrorCallback(std::move(Err));
1160 if (Error Err = LT.Prologue.parse(DebugLineData, &Offset, Context, U))
1161 ErrorCallback(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp264 if (auto Err = impl().finalizeSection(Obj, I->second, Section))
265 return Err;
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp109 if (auto Err =
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp226 assert(Err);
227 return std::move(*Err);
236 // On invalid syntax, parseX() functions return false and set Err.
250 Optional<Error> Err; member in class:llvm::json::__anon1986::Parser
504 Err.emplace(
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolDumper.cpp662 auto Err = Visitor.visitSymbolRecord(Record); local
664 return Err;
676 auto Err = Visitor.visitSymbolStream(Symbols); local
678 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DFuzzerCLI.cpp180 SMDiagnostic Err; local
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryReader.cpp513 Error Err = Error::success(); local
514 for (const ExportEntry &trieExport : MachOObjectFile::exports(Err, trie)) {
525 if (Err)
526 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp63 static inline Error createError(const Twine &Err) { argument
64 return make_error<StringError>(Err, object_error::parse_failed);
1943 const char *Err; local
1944 uint64_t SymIndex = decodeULEB128(Cur, &Size, End, &Err);
1945 if (Err)
1946 reportError(createError(Err), Obj->getFileName());
1968 if (Error Err = codeview::visitTypeStream(TpiTypes, TDV))
1969 reportError(std::move(Err), "<?>");
1980 if (Error Err = codeview::visitTypeStream(IpiTypes, TDV))
1981 reportError(std::move(Err), "<
[all...]

Completed in 211 milliseconds

12345678910