[Lldb-commits] [lldb] [lldb] Add RegisterCheckpoint overload for register methods in RegisterContextThreadMemory (PR #132079)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 19 11:58:05 PDT 2025


kastiglione wrote:

Here's a regression test:

```
diff --git a/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py b/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py
index 1510faa5820d..8cc699b3f0bf 100644
--- a/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py
+++ b/lldb/test/API/lang/swift/async/expr/TestSwiftAsyncExpressions.py
@@ -18,3 +18,6 @@ class TestSwiftAsyncExpressions(lldbtest.TestBase):
         target, process, thread, main_bkpt = lldbutil.run_to_source_breakpoint(
             self, 'break here', lldb.SBFileSpec("main.swift"))
         self.expect("expr n", substrs=["42"])
+        process.Continue()
+        stop_desc = process.GetSelectedThread().GetStopDescription(1024)
+        self.assertNotIn("EXC_BAD_ACCESS", stop_desc)
```

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


More information about the lldb-commits mailing list