Skip to content

Commit 8d3dbdb

Browse files
[lldb] fix incorrect logging message (#146903)
Fix an error message which incorrectly says that we failed to handle a `basename`. It should say `formatted-arguments` instead.
1 parent 2f75f65 commit 8d3dbdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ static bool PrintDemangledArgumentList(Stream &s, const SymbolContext &sc) {
376376

377377
auto info_or_err = GetAndValidateInfo(sc);
378378
if (!info_or_err) {
379-
LLDB_LOG_ERROR(
380-
GetLog(LLDBLog::Language), info_or_err.takeError(),
381-
"Failed to handle ${{function.basename}} frame-format variable: {0}");
379+
LLDB_LOG_ERROR(GetLog(LLDBLog::Language), info_or_err.takeError(),
380+
"Failed to handle ${{function.formatted-arguments}} "
381+
"frame-format variable: {0}");
382382
return false;
383383
}
384384
auto [demangled_name, info] = *info_or_err;

0 commit comments

Comments
 (0)