[Lldb-commits] [lldb] [LLDB] Add load core time to target metrics (PR #161581)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 1 15:48:35 PDT 2025


================
@@ -255,6 +255,7 @@ SBProcess SBTarget::LoadCore(const char *core_file, lldb::SBError &error) {
     ProcessSP process_sp(target_sp->CreateProcess(
         target_sp->GetDebugger().GetListener(), "", &filespec, false));
     if (process_sp) {
+      ElapsedTime loadCoreTime(target_sp->GetStatistics().GetLoadCoreTime());
----------------
JDevlieghere wrote:

Thanks! And no worries, that's why we have post-commit review :-) 

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


More information about the lldb-commits mailing list