[Lldb-commits] [lldb] [LLDB] Make the thread list for SBSaveCoreOptions iterable (PR #122541)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 10 16:40:46 PST 2025


================
@@ -56,7 +57,7 @@ class SaveCoreOptions {
   std::optional<lldb_private::FileSpec> m_file;
   std::optional<lldb::SaveCoreStyle> m_style;
   lldb::ProcessSP m_process_sp;
-  std::unordered_set<lldb::tid_t> m_threads_to_save;
+  std::unordered_map<lldb::tid_t, lldb::ThreadSP> m_threads_to_save;
----------------
clayborg wrote:

You can remove this change right? You can fetch the threads from the `m_process_sp` by `lldb::tid_t`

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


More information about the lldb-commits mailing list