[Lldb-commits] [lldb] Fix lldb crash while handling concurrent vfork() (PR #81564)

via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 14 11:44:55 PST 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 bc66e0cf9feb8f3c38fa2e33850b6c6e5477fb21...2e7bf2386394ff35fa43f0cb78ea029e0e075bc8 lldb/test/API/functionalities/fork/concurrent_vfork/TestConcurrentVFork.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestConcurrentVFork.py	2024-02-14 19:41:56.000000 +0000
+++ TestConcurrentVFork.py	2024-02-14 19:44:47.167702 +0000
@@ -44,6 +44,6 @@
             self, "// break here", lldb.SBFileSpec("main.cpp")
         )
         self.runCmd("settings set target.process.follow-fork-mode child")
         # Child process exits with code "index + 10" since index is [0-4]
         # so the exit code should be 1[0-4]
-        self.expect("continue", patterns=[r'exited with status = 1[0-4]'])
+        self.expect("continue", patterns=[r"exited with status = 1[0-4]"])

``````````

</details>


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


More information about the lldb-commits mailing list