================ @@ -6608,8 +6608,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:
remove this as before we needed to use the `ThreadList` class which didn't have an iterator. Now we have a `std::vector<ThreadSP>` so we can use the build in iteration. See below. 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