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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits