Home
last modified time | relevance | path

Searched refs:error_str (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/functionalities/load_using_paths/
H A DTestLoadUsingPaths.py68 error_str = error.description
69 self.assertNotEqual(len(error_str), 0, "Got an empty error string")
70 self.assertNotIn("unknown reasons", error_str, "Error string had unknown reasons")
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectMultiword.cpp119 const char *error_str = nullptr; in LoadUserSubcommand() local
121 error_str = "sub-command already exists"; in LoadUserSubcommand()
123 error_str = "can't replace a builtin subcommand"; in LoadUserSubcommand()
125 if (error_str) { in LoadUserSubcommand()
126 return llvm::createStringError(llvm::inconvertibleErrorCode(), error_str); in LoadUserSubcommand()
/llvm-project-15.0.7/lldb/test/API/commands/expression/unwind_expression/
H A DTestUnwindExpression.py77 error_str = val.GetError().GetCString()
79 "Execution was interrupted, reason: breakpoint" in error_str,
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DVSCode.cpp474 std::string error_str; in GetNextObject() local
475 llvm::raw_string_ostream strm(error_str); in GetNextObject()
478 *log << "error: failed to parse JSON: " << error_str << std::endl in GetNextObject()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A Ddebugserver.cpp1562 const char *error_str = remote->Context().LaunchStatus().AsString(); in main() local
1564 error_str ? error_str : "unknown error."); in main()
1655 const char *error_str = remote->Context().LaunchStatus().AsString(); in main() local
1657 error_str ? error_str : "unknown error."); in main()
H A DDNB.cpp154 const char *error_str = strerror(error_no); in kqueue_thread() local
155 if (error_str == NULL) in kqueue_thread()
156 error_str = "Unknown error"; in kqueue_thread()
158 error_str); in kqueue_thread()
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp96 std::string error_str = toString(std::move(E)); in IOHandlerIsInputComplete() local
98 return error_str.find("<eof>") == std::string::npos; in IOHandlerIsInputComplete()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp378 std::string error_str; in LaunchProcess() local
379 if (m_gdb_client_up->GetLaunchSuccess(error_str)) { in LaunchProcess()
395 error.SetErrorString(error_str.c_str()); in LaunchProcess()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp719 char error_str[64]; in Codegen() local
720 sprintf(error_str, "Unknown function referenced %s", Callee.c_str()); in Codegen()
721 return ErrorV(error_str); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp701 char error_str[64]; in Codegen() local
702 sprintf(error_str, "Unknown function referenced %s", Callee.c_str()); in Codegen()
703 return ErrorV(error_str); in Codegen()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp857 std::string error_str; in DoLaunch() local
858 if (m_gdb_comm.GetLaunchSuccess(error_str)) { in DoLaunch()
861 error.SetErrorString(error_str.c_str()); in DoLaunch()
3373 char error_str[1024]; in MonitorDebugserverProcess() local
3378 ::snprintf(error_str, sizeof(error_str), in MonitorDebugserverProcess()
3381 ::snprintf(error_str, sizeof(error_str), in MonitorDebugserverProcess()
3384 ::snprintf(error_str, sizeof(error_str), in MonitorDebugserverProcess()
3389 process_sp->SetExitStatus(-1, error_str); in MonitorDebugserverProcess()
H A DGDBRemoteCommunicationClient.h82 bool GetLaunchSuccess(std::string &error_str);
H A DGDBRemoteCommunicationClient.cpp743 bool GDBRemoteCommunicationClient::GetLaunchSuccess(std::string &error_str) { in GetLaunchSuccess() argument
744 error_str.clear(); in GetLaunchSuccess()
757 error_str = std::string(response.GetStringRef().substr(1)); in GetLaunchSuccess()
759 error_str.assign("unknown error occurred launching process"); in GetLaunchSuccess()
762 error_str.assign("timed out waiting for app to launch"); in GetLaunchSuccess()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1161 char error_str[64]; in Codegen() local
1162 sprintf(error_str, "Unknown function referenced %s", Callee.c_str()); in Codegen()
1163 return ErrorV(error_str); in Codegen()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp615 std::string error_str = llvm::toString(utility_fn_or_error.takeError()); in MakeLoadImageUtilityFunction() local
618 error_str.c_str()); in MakeLoadImageUtilityFunction()
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h278 std::string &error_str, in CreateScriptedThreadPlan() argument
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h83 std::string &error_str,
H A DScriptInterpreterPython.cpp1731 std::string &error_str, lldb::ThreadPlanSP thread_plan_sp) { in CreateScriptedThreadPlan() argument
1749 error_str, thread_plan_sp); in CreateScriptedThreadPlan()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm171 const char *error_str =
173 if (error_str) {
174 open_app_error_string = error_str;
178 getpid(), error_str);
189 error_str ? error_str : "<unknown error>",