[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 14:03:13 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();
+}
+
----------------
jeffreytan81 wrote:

"is not skipped" is correct -- it means this API call `ResetStatistics` is not skipped by SymbolFileOnDemand class and pass through to the underlying real symbol file.

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


More information about the lldb-commits mailing list