[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 25 12:50:59 PDT 2024
================
@@ -555,6 +555,18 @@ StatsDuration::Duration SymbolFileOnDemand::GetDebugInfoIndexTime() {
return m_sym_file_impl->GetDebugInfoIndexTime();
}
+void SymbolFileOnDemand::ResetDebugInfoParseTime() {
+ LLDB_LOG(GetLog(), "[{0}] {1} is not skipped", GetSymbolFileName(),
+ __FUNCTION__);
+ return m_sym_file_impl->ResetDebugInfoParseTime();
+}
+
+void SymbolFileOnDemand::ResetDebugInfoIndexTime() {
+ LLDB_LOG(GetLog(), "[{0}] {1} is not skipped", GetSymbolFileName(),
+ __FUNCTION__);
+ return m_sym_file_impl->ResetDebugInfoIndexTime();
+}
+
----------------
clayborg wrote:
Switch to a single function `ResetStatistics` and fix the log text "is not skipped" seems wrong?
https://github.com/llvm/llvm-project/pull/113723
More information about the lldb-commits
mailing list