[Lldb-commits] [lldb] [LLDB][SBSaveCore] Add Extension to Save a thread and N pointers dead (PR #111601)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 8 15:56:46 PDT 2024


================
@@ -0,0 +1,31 @@
+#extend lldb::SBSaveCoreOptions {
+#ifdef SWIGPYTHON
+    %pythoncode% {
+        '''Add a thread to the SaveCoreOptions thread list, and follow it's children N pointers deep, adding each memory region to the SaveCoreOptions Memory region list.'''
----------------
graphite-app[bot] wrote:

The docstring contains a grammatical error. The possessive form of "it" should be "its" rather than "it's". The corrected version should read:

```python
'''Add a thread to the SaveCoreOptions thread list, and follow its children N pointers deep, adding each memory region to the SaveCoreOptions Memory region list.'''
```

This change ensures proper usage of the possessive pronoun and improves the overall clarity of the documentation.

*Spotted by [Graphite Reviewer](https://app.graphite.dev/graphite-reviewer/?org=llvm&ref=ai-review-comment)*<i class='graphite__hidden'><br /><br />Is this helpful? React 👍 or 👎 to let us know.</i>

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


More information about the lldb-commits mailing list