[Lldb-commits] [lldb] [LLDB][SaveCore] Add SBCoreDumpOptions Object, and SBProcess::SaveCore() overload (PR #98403)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 14:00:36 PDT 2024


================
@@ -132,8 +132,13 @@ def test_save_linux_mini_dump(self):
                 stacks_to_sp_map,
             )
 
+            options = lldb.SBCoreDumpOptions()
+            core_sb_stack_spec = lldb.SBFileSpec(core_sb_stack)
+            options.SetOutputFile(core_sb_stack_spec)
+            options.SetCoreDumpPluginName("minidump")
----------------
Jlalond wrote:

Created a new unit test file for this

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


More information about the lldb-commits mailing list