Home
last modified time | relevance | path

Searched refs:error_cstr (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtilityFunction.cpp162 const char *error_cstr = jit_error.AsCString(); in Install() local
163 if (error_cstr && error_cstr[0]) { in Install()
164 diagnostic_manager.Printf(eDiagnosticSeverityError, "%s", error_cstr); in Install()
H A DClangUserExpression.cpp612 const char *error_cstr = jit_error.AsCString(); in TryParse() local
613 if (error_cstr && error_cstr[0]) in TryParse()
614 diagnostic_manager.PutString(eDiagnosticSeverityError, error_cstr); in TryParse()
715 const char *error_cstr = static_init_error.AsCString(); in Parse() local
716 if (error_cstr && error_cstr[0]) in Parse()
719 error_cstr); in Parse()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectExpression.cpp448 const char *error_cstr = result_valobj_sp->GetError().AsCString(); in EvaluateExpression() local
449 if (error_cstr && error_cstr[0]) { in EvaluateExpression()
450 const size_t error_cstr_len = strlen(error_cstr); in EvaluateExpression()
451 const bool ends_with_newline = error_cstr[error_cstr_len - 1] == '\n'; in EvaluateExpression()
452 if (strstr(error_cstr, "error:") != error_cstr) in EvaluateExpression()
454 error_stream.Write(error_cstr, error_cstr_len); in EvaluateExpression()
H A DCommandObjectWatchpoint.cpp938 const char *error_cstr = error.AsCString(nullptr); in DoExecute() local
939 if (error_cstr) in DoExecute()
940 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectMemory.cpp677 const char *error_cstr = error.AsCString(); in DoExecute() local
678 if (error_cstr && error_cstr[0]) { in DoExecute()
679 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectFrame.cpp604 if (auto error_cstr = error.AsCString(nullptr)) in DoExecute() local
605 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectTarget.cpp2577 const char *error_cstr = error.AsCString(); in DoExecute() local
2578 if (error_cstr) in DoExecute()
2579 result.AppendError(error_cstr); in DoExecute()
/llvm-project-15.0.7/lldb/source/API/
H A DSBCommandReturnObject.cpp335 void SBCommandReturnObject::SetError(const char *error_cstr) { in SetError() argument
336 LLDB_INSTRUMENT_VA(this, error_cstr); in SetError()
338 if (error_cstr) in SetError()
339 ref().AppendError(error_cstr); in SetError()
/llvm-project-15.0.7/lldb/tools/driver/
H A DDriver.cpp627 const char *error_cstr = error.GetCString(); in MainLoop() local
628 if ((error_cstr != nullptr) && (error_cstr[0] != 0)) in MainLoop()
629 WithColor::error() << error_cstr << '\n'; in MainLoop()
848 if (const char *error_cstr = error.GetCString()) in main() local
849 WithColor::error() << error_cstr << '\n'; in main()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBCommandReturnObject.i74 SetError (const char *error_cstr);
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp940 const char *error_cstr = error.AsCString(); in DoExecute() local
941 if (error_cstr && error_cstr[0]) in DoExecute()
942 result.AppendError(error_cstr); in DoExecute()
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBCommandReturnObject.h106 void SetError(const char *error_cstr);
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandObject.cpp130 const char *error_cstr = error.AsCString(); in ParseOptions() local
131 if (error_cstr) { in ParseOptions()
133 result.AppendError(error_cstr); in ParseOptions()
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A Dlldb-vscode.cpp1238 const char *error_cstr = error.GetCString(); in request_evaluate() local
1239 if (error_cstr && error_cstr[0]) in request_evaluate()
1240 EmplaceSafeString(response, "message", std::string(error_cstr)); in request_evaluate()
/llvm-project-15.0.7/lldb/source/Core/
H A DDisassembler.cpp1098 if (const char *error_cstr = error.AsCString()) in ParseInstructions() local
1099 error_strm_ptr->Printf("error: %s\n", error_cstr); in ParseInstructions()