[Lldb-commits] [lldb] 0be3348 - [lldb] Improve log message to include missing strings
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 09:54:44 PST 2024
Author: Adrian Prantl
Date: 2024-12-10T09:54:36-08:00
New Revision: 0be33484853557bc0fd9dfb94e0b6c15dda136ce
URL: https://github.com/llvm/llvm-project/commit/0be33484853557bc0fd9dfb94e0b6c15dda136ce
DIFF: https://github.com/llvm/llvm-project/commit/0be33484853557bc0fd9dfb94e0b6c15dda136ce.diff
LOG: [lldb] Improve log message to include missing strings
Added:
Modified:
lldb/source/DataFormatters/FormatterSection.cpp
Removed:
################################################################################
diff --git a/lldb/source/DataFormatters/FormatterSection.cpp b/lldb/source/DataFormatters/FormatterSection.cpp
index 7316990f66a109..f70f41fdeb736f 100644
--- a/lldb/source/DataFormatters/FormatterSection.cpp
+++ b/lldb/source/DataFormatters/FormatterSection.cpp
@@ -103,8 +103,9 @@ void LoadTypeSummariesForModule(ModuleSP module_sp) {
}
if (type_name.empty() || summary_string.empty()) {
LLDB_LOG(GetLog(LLDBLog::DataFormatters),
- "Missing string(s) in embedded type summary in {0}.",
- module_sp->GetFileSpec());
+ "Missing string(s) in embedded type summary in {0}, "
+ "type_name={1}, summary={2}",
+ module_sp->GetFileSpec(), type_name, summary_string);
return;
}
TypeSummaryImpl::Flags flags;
More information about the lldb-commits
mailing list