[Lldb-commits] [lldb] [LLDB][Minidump] Add breakpoint stop reasons to the minidump. (PR #108448)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 12 14:32:25 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 030c6da7af826b641db005be925b20f956c3a6bb...099f017208ddadc07b3743ea7b04612f0f79617f lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestProcessSaveCoreMinidump.py 2024-09-12 21:28:31.000000 +0000
+++ TestProcessSaveCoreMinidump.py 2024-09-12 21:31:56.194787 +0000
@@ -521,11 +521,11 @@
thread = process.GetThreadAtIndex(thread_idx)
stop = thread.stop_reason
if stop == 1:
foundSigInt = True
break
-
+
self.assertTrue(foundSigInt, "Breakpoint not included in minidump.")
finally:
self.assertTrue(self.dbg.DeleteTarget(target))
if os.path.isfile(custom_file):
``````````
</details>
https://github.com/llvm/llvm-project/pull/108448
More information about the lldb-commits
mailing list