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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 14 14:58:52 PST 2025


================
@@ -115,8 +115,21 @@ const MemoryRanges &SaveCoreOptions::GetCoreFileMemoryRanges() const {
   return m_regions_to_save;
 }
 
-Status SaveCoreOptions::EnsureValidConfiguration(
-    lldb::ProcessSP process_sp) const {
+lldb::ThreadCollectionSP SaveCoreOptions::GetThreadsToSave() const {
----------------
Jlalond wrote:

The SBThreadCollection's protected constructor only supports an ThreadCollection_SP. So without changing that I won't be able to only pass by value.

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


More information about the lldb-commits mailing list