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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 13 10:43:54 PST 2025


================
@@ -79,3 +81,26 @@ def test_adding_thread_different_process(self):
         self.assertTrue(error.Fail())
         error = options.AddThread(thread)
         self.assertTrue(error.Success())
+
+    def test_removing_and_adding_insertion_order(self):
+        """Test insertion order is maintained when removing and adding threads."""
----------------
bulbazord wrote:

The comment for `SBSaveCoreOptions::GetThreadsToSave` says you get an unsorted collection back. Which one is the intended behavior?

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


More information about the lldb-commits mailing list