[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 28 14:53:56 PDT 2024
================
@@ -1600,6 +1600,15 @@ bool Module::MergeArchitecture(const ArchSpec &arch_spec) {
return SetArchitecture(merged_arch);
}
+void Module::ResetStatistics() {
+ m_symtab_parse_time.reset();
+ m_symtab_index_time.reset();
+ SymbolFile *sym_file = GetSymbolFile();
+ if (sym_file) {
+ sym_file->ResetStatistics();
+ }
----------------
clayborg wrote:
remove braces from single line "if" statement per llvm coding guidelines
https://github.com/llvm/llvm-project/pull/113723
More information about the lldb-commits
mailing list