[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 15:01:29 PST 2025
================
@@ -111,6 +111,21 @@ class LLDB_API SBSaveCoreOptions {
/// style specific regions.
SBError AddMemoryRegionToSave(const SBMemoryRegionInfo ®ion);
+ /// Get the number of Threads to be saved
+ ///
+ /// \returns
+ /// The count of Threads to be saved.
+ uint32_t GetNumThreads() const;
+
+ /// Get the Thread at the specified index.
+ ///
+ /// \param [in] idx
+ /// The index of the thread to return.
----------------
clayborg wrote:
```
/// The zero based index of the thread object to return.
```
https://github.com/llvm/llvm-project/pull/122541
More information about the lldb-commits
mailing list