[Lldb-commits] [lldb] Add logs for SymbolFileDWARF::FindTypes (PR #106030)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 26 13:58:16 PDT 2024


================
@@ -2779,7 +2788,19 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, TypeResults &results) {
     return !results.Done(query); // Keep iterating if we aren't done.
   });
 
-  if (results.Done(query))
+  auto CheckIsDoneAndLog = [&results, &query, log, type_basename, this] {
----------------
Michael137 wrote:

Thanks for adding this back. Usually I'm in favour of DRY but personally I find it more readable if you just inline the logging, instead of the lambda. Mind changing that?

https://github.com/llvm/llvm-project/pull/106030


More information about the lldb-commits mailing list