mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
[lldb] Log the actual expression result in UserExpression::Evaluate
This used to be a LLDB_LOGF call that used the printf %s syntax.
0ab109d43d changed it to LLDB_LOG but didn't
update this format string to use formatv's syntax so this just printed '%s'.
This commit is contained in:
@@ -362,7 +362,7 @@ UserExpression::Evaluate(ExecutionContext &exe_ctx,
|
||||
|
||||
LLDB_LOG(log,
|
||||
"== [UserExpression::Evaluate] Execution completed "
|
||||
"normally with result %s ==",
|
||||
"normally with result {0} ==",
|
||||
result_valobj_sp->GetValueAsCString());
|
||||
} else {
|
||||
LLDB_LOG(log, "== [UserExpression::Evaluate] Execution completed "
|
||||
|
||||
Reference in New Issue
Block a user