================ @@ -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. + /// \returns + /// The thread at the specified index, or an empty thread if the index is ---------------- clayborg wrote:
s/an empty thread/an invalid SBThread object/ Not sure what users might think "an empty thread" is. https://github.com/llvm/llvm-project/pull/122541 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits