diff options
| author | Adrian Prantl <aprantl@apple.com> | 2024-10-11 09:08:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 09:08:52 -0700 |
| commit | 089227feaf0efb5e540783a5542655e25669e7d8 (patch) | |
| tree | fa1f1cbc27629c0c62a4b2952533fc72796b3a78 /lldb/source/Expression/FunctionCaller.cpp | |
| parent | 5b25c31351ad1b10a3819411379b3258869c1e1b (diff) | |
Support inline diagnostics in CommandReturnObject (#110901)
and implement them for dwim-print (a.k.a. `p`) as an example.
The next step will be to expose them as structured data in
SBCommandReturnObject.
Diffstat (limited to 'lldb/source/Expression/FunctionCaller.cpp')
| -rw-r--r-- | lldb/source/Expression/FunctionCaller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp index 5ce0175fedf4..d1dd350b09f2 100644 --- a/lldb/source/Expression/FunctionCaller.cpp +++ b/lldb/source/Expression/FunctionCaller.cpp @@ -6,7 +6,6 @@ // //===----------------------------------------------------------------------===// - #include "lldb/Expression/FunctionCaller.h" #include "lldb/Core/Module.h" #include "lldb/Core/ValueObject.h" @@ -24,6 +23,7 @@ #include "lldb/Target/ThreadPlan.h" #include "lldb/Target/ThreadPlanCallFunction.h" #include "lldb/Utility/DataExtractor.h" +#include "lldb/Utility/ErrorMessages.h" #include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/State.h" @@ -390,7 +390,7 @@ lldb::ExpressionResults FunctionCaller::ExecuteFunction( LLDB_LOGF(log, "== [FunctionCaller::ExecuteFunction] Execution of \"%s\" " "completed abnormally: %s ==", - m_name.c_str(), ExpressionResultAsCString(return_value)); + m_name.c_str(), toString(return_value).c_str()); } else { LLDB_LOGF(log, "== [FunctionCaller::ExecuteFunction] Execution of \"%s\" " |
