Home
last modified time | relevance | path

Searched refs:ErrorMsg (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp245 std::string &ErrorMsg) { in stripPositionalArgs() argument
247 llvm::raw_string_ostream Output(ErrorMsg); in stripPositionalArgs()
304 ErrorMsg = "warning: no compile jobs found\n"; in stripPositionalArgs()
327 std::string &ErrorMsg, in loadFromCommandLine() argument
329 ErrorMsg.clear(); in loadFromCommandLine()
339 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) in loadFromCommandLine()
346 ErrorMsg.clear(); in loadFromFile()
350 ErrorMsg = "Error while opening fixed database: " + Result.message(); in loadFromFile()
354 (*File)->getBuffer(), ErrorMsg); in loadFromFile()
359 std::string &ErrorMsg) { in loadFromBuffer() argument
[all …]
H A DAllTUsExecution.cpp89 std::string ErrorMsg; in execute() local
93 ErrorMsg += Err.str(); in execute()
145 if (!ErrorMsg.empty()) in execute()
146 return make_string_error(ErrorMsg); in execute()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp88 std::string *ErrorMsg) { in CompareNumbers() argument
133 if (ErrorMsg) { in CompareNumbers()
134 *ErrorMsg = "FP Comparison failed, not a numeric difference between '"; in CompareNumbers()
135 *ErrorMsg += F1P[0]; in CompareNumbers()
136 *ErrorMsg += "' and '"; in CompareNumbers()
137 *ErrorMsg += F2P[0]; in CompareNumbers()
138 *ErrorMsg += "'"; in CompareNumbers()
154 if (ErrorMsg) { in CompareNumbers()
155 raw_string_ostream(*ErrorMsg) in CompareNumbers()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerExtFunctionsDlsym.cpp28 const char *ErrorMsg = dlerror(); in GetFnPtr() local
30 if (ErrorMsg) in GetFnPtr()
31 Printf(" Reason %s.", ErrorMsg); in GetFnPtr()
H A DFuzzerUtilFuchsia.cpp543 char ErrorMsg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in ExecuteCommand() local
548 SpawnActions.data(), &ProcessHandle, ErrorMsg); in ExecuteCommand()
551 Printf("libFuzzer: failed to launch '%s': %s, %s\n", Argv[0], ErrorMsg, in ExecuteCommand()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp123 EvalResult(std::string ErrorMsg) in EvalResult() argument
124 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult()
131 std::string ErrorMsg; member in llvm::RuntimeDyldCheckerExprEval::EvalResult
158 ErrorMsg += SubExpr; in unexpectedToken()
160 ErrorMsg += "'"; in unexpectedToken()
162 ErrorMsg += " "; in unexpectedToken()
163 ErrorMsg += ErrText; in unexpectedToken()
418 std::string ErrorMsg; in evalStubOrGOTAddr() local
423 if (ErrorMsg != "") in evalStubOrGOTAddr()
458 std::string ErrorMsg; in evalSectionAddr() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp64 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() argument
65 : Pos(Pos), ErrorMsg(std::move(ErrorMsg)), in ParseError()
69 OS << "parse error at position (" << Pos << "): " << ErrorMsg in log()
79 std::string ErrorMsg; member in __anon151cbee30111::ParseError
137 static llvm::Error makeParseError(const ParseState &S, std::string ErrorMsg) { in makeParseError() argument
139 return llvm::make_error<ParseError>(Pos, std::move(ErrorMsg), in makeParseError()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVectorBuilder.h53 void handleError(const char *ErrorMsg) const;
55 RetType returnWithError(const char *ErrorMsg) const { in returnWithError() argument
56 handleError(ErrorMsg); in returnWithError()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DCompilationDatabase.h184 loadFromCommandLine(int &Argc, const char *const *Argv, std::string &ErrorMsg,
190 loadFromFile(StringRef Path, std::string &ErrorMsg);
195 loadFromBuffer(StringRef Directory, StringRef Data, std::string &ErrorMsg);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DPutenvWithAutoChecker.cpp52 StringRef ErrorMsg = "The 'putenv' function should not be called with " in checkPostCall() local
55 auto Report = std::make_unique<PathSensitiveBugReport>(BT, ErrorMsg, N); in checkPostCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DLockFileManager.h92 void setError(const std::error_code &EC, StringRef ErrorMsg = "") {
94 ErrorDiagMsg = ErrorMsg.str();
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVectorBuilder.cpp24 void VectorBuilder::handleError(const char *ErrorMsg) const { in handleError()
27 report_fatal_error(ErrorMsg); in handleError()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DAMDGPU.cpp189 std::string ErrorMsg; in initFeatureMap() local
190 if (!insertWaveSizeFeature(CPU, getTriple(), Features, ErrorMsg)) { in initFeatureMap()
191 Diags.Report(diag::err_invalid_feature_combination) << ErrorMsg; in initFeatureMap()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistry.cpp74 std::string ErrorMsg; in CheckerRegistry() local
76 DynamicLibrary::getPermanentLibrary(Plugin.c_str(), &ErrorMsg); in CheckerRegistry()
78 Diags.Report(diag::err_fe_unable_to_load_plugin) << Plugin << ErrorMsg; in CheckerRegistry()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp616 std::string ErrorMsg; in registerUninitializedObjectChecker() local
617 if (!llvm::Regex(ChOpts.IgnoredRecordsWithFieldPattern).isValid(ErrorMsg)) in registerUninitializedObjectChecker()
620 "\"" + ErrorMsg + "\""); in registerUninitializedObjectChecker()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp285 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { in toJSON() argument
291 if (!ErrorMsg.empty()) in toJSON()
292 Json["Error"] = json::Object({{"Message", ErrorMsg.str()}}); in toJSON()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTargetParser.h169 StringMap<bool> &Features, std::string &ErrorMsg);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp304 std::string ErrorMsg; in runOnMachineFunction() local
306 OptimizePluginPath.c_str(), &ErrorMsg); in runOnMachineFunction()
307 if (!ErrorMsg.empty()) in runOnMachineFunction()
308 report_fatal_error(Twine("Failed to load opt plugin: \"") + ErrorMsg + in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DTargetParser.cpp524 std::string &ErrorMsg) { in insertWaveSizeFeature() argument
532 ErrorMsg = "'wavefrontsize32' and 'wavefrontsize64' are mutually exclusive"; in insertWaveSizeFeature()
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp480 std::string ErrorMsg; in main() local
489 builder.setErrorStr(&ErrorMsg); in main()
527 if (!ErrorMsg.empty()) in main()
529 << "error creating EE: " << ErrorMsg << "\n"; in main()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.cpp198 std::string ErrorMsg; in TranslateArgs() local
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp1253 StringRef ErrorMsg, in emitIntrinsicWithChainErrorMessage() argument
1255 DAG.getContext()->emitError(Op->getOperationName(0) + ": " + ErrorMsg + "."); in emitIntrinsicWithChainErrorMessage()
1375 static SDValue emitIntrinsicErrorMessage(SDValue Op, StringRef ErrorMsg, in emitIntrinsicErrorMessage() argument
1378 DAG.getContext()->emitError(Op->getOperationName(0) + ": " + ErrorMsg + "."); in emitIntrinsicErrorMessage()
1700 StringRef ErrorMsg, bool WithChain = true) { in emitErrorAndReplaceIntrinsicResults() argument
1701 DAG.getContext()->emitError(N->getOperationName(0) + ": " + ErrorMsg + "."); in emitErrorAndReplaceIntrinsicResults()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp2090 for (StringRef ErrorMsg : ErrorMsgs) in printNoMatch() local
2092 ErrorMsg); in printNoMatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp354 bool reportParseError(const Twine &ErrorMsg);
355 bool reportParseError(SMLoc Loc, const Twine &ErrorMsg);
7049 bool MipsAsmParser::reportParseError(const Twine &ErrorMsg) { in reportParseError() argument
7051 return Error(Loc, ErrorMsg); in reportParseError()
7054 bool MipsAsmParser::reportParseError(SMLoc Loc, const Twine &ErrorMsg) { in reportParseError() argument
7055 return Error(Loc, ErrorMsg); in reportParseError()