================ @@ -33,6 +33,37 @@ static void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key, obj.try_emplace(key, llvm::json::fixUTF8(str)); } +static void UpdateDwoFileCounts(SymbolFile *sym_file, + uint32_t &total_dwo_file_count, + uint32_t &total_loaded_dwo_file_count) { + // Count DWO files from this symbol file using GetSeparateDebugInfo + // For DWP files, this increments counts for both total and successfully + // loaded DWO CUs. For non split-dwarf files, these counts should not change + StructuredData::Dictionary separate_debug_info; + if (sym_file->GetSeparateDebugInfo(separate_debug_info, + /*errors_only=*/false, + /*load_all_debug_info*/ false)) { ---------------- clayborg wrote:
``` /*load_all_debug_info=*/false ``` https://github.com/llvm/llvm-project/pull/144424 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits