[Lldb-commits] [lldb] f98df8a - [lldb] Make 'this' substituton error more verbose.
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 6 06:08:47 PDT 2021
Author: Raphael Isemann
Date: 2021-10-06T15:07:19+02:00
New Revision: f98df8a38b00b207b5f5deda607fd6862ad550f0
URL: https://github.com/llvm/llvm-project/commit/f98df8a38b00b207b5f5deda607fd6862ad550f0
DIFF: https://github.com/llvm/llvm-project/commit/f98df8a38b00b207b5f5deda607fd6862ad550f0.diff
LOG: [lldb] Make 'this' substituton error more verbose.
Added:
Modified:
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
index 38166391006a0..50e9f78278388 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
@@ -910,8 +910,8 @@ bool ClangUserExpression::AddArguments(ExecutionContext &exe_ctx,
if (!object_ptr_error.Success()) {
exe_ctx.GetTargetRef().GetDebugger().GetAsyncOutputStream()->Printf(
- "warning: `%s' is not accessible (substituting 0)\n",
- object_name.AsCString());
+ "warning: `%s' is not accessible (substituting 0). %s\n",
+ object_name.AsCString(), object_ptr_error.AsCString());
object_ptr = 0;
}
More information about the lldb-commits
mailing list