[Lldb-commits] [lldb] [LLDB] Add draft docstrings for SBSaveCoreOptions (PR #123132)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 15 17:04:51 PST 2025


================
@@ -0,0 +1,72 @@
+%feature("docstring",
+"A container for options to use when saving a core file.
+
+SBSaveCoreOptions includes API's to specify the memory regions and threads to include
+when generating a core file. These options are not exclusive the existing SaveCoreStyle option.
+
+Full will save off all thread and memory regions, ignoring the memory regions and threads in
+the options object.
----------------
JDevlieghere wrote:

```suggestion
eSaveCoreFull will save off all thread and memory regions, ignoring the memory regions and threads in
the options object.
```

Maybe make these bullet points to make it clear that you're iterating over the options, something like this:

```
* eSaveCoreFull: save off all thread and memory regions, ignoring the memory regions and threads specified in this option object. 
```

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


More information about the lldb-commits mailing list