[Lldb-commits] [lldb] [LLDB][SBSaveCore] Fix bug where default values are not propagated. (PR #101770)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 2 16:10:51 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 1ae837ab34424a0b81bcc9a4fabc89e36cd57235...9d105b25b2e0721d68db8dca60cb155d233d0933 lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestProcessSaveCore.py 2024-08-02 23:03:03.000000 +0000
+++ TestProcessSaveCore.py 2024-08-02 23:10:22.398544 +0000
@@ -101,13 +101,11 @@
self.build()
exe = self.getBuildArtifact("a.out")
core = self.getBuildArtifact("core.dmp")
target = self.dbg.CreateTarget(exe)
target.BreakpointCreateByName("bar")
- process = target.LaunchSimple(
- None, None, self.get_process_working_directory()
- )
+ process = target.LaunchSimple(None, None, self.get_process_working_directory())
self.assertState(process.GetState(), lldb.eStateStopped)
pid = process.GetProcessID()
options = lldb.SBSaveCoreOptions()
minidump_path = core + ".minidump"
options.SetOutputFile(lldb.SBFileSpec(minidump_path))
``````````
</details>
https://github.com/llvm/llvm-project/pull/101770
More information about the lldb-commits
mailing list