================ @@ -6608,8 +6610,9 @@ bool ObjectFileMachO::SaveCore(const lldb::ProcessSP &process_sp, mach_header.ncmds = segment_load_commands.size(); mach_header.flags = 0; mach_header.reserved = 0; - ThreadList &thread_list = process_sp->GetThreadList(); - const uint32_t num_threads = thread_list.GetSize(); + std::vector<ThreadSP> thread_list = + process_sp->CalculateCoreFileThreadList(options); + const uint32_t num_threads = thread_list.size(); ---------------- clayborg wrote:
I don't think we need this line as we don't need the `num_threads` variable anymore? https://github.com/llvm/llvm-project/pull/100443 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits