[Lldb-commits] [lldb] Handle step-in over a Darwin "branch island". (PR #138330)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 12:45:15 PDT 2025


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 HEAD~1...HEAD lldb/test/API/macosx/branch-islands/TestBranchIslands.py
``````````

</details>

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

``````````diff
--- TestBranchIslands.py	2025-05-02 19:40:11.000000 +0000
+++ TestBranchIslands.py	2025-05-02 19:44:48.374939 +0000
@@ -5,10 +5,11 @@
 
 import lldb
 import lldbsuite.test.lldbutil as lldbutil
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
+
 
 class TestBranchIslandStepping(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     @skipUnlessDarwin
@@ -24,11 +25,11 @@
         )
 
         # Make sure that we did manage to generate a branch island for foo:
         syms = target.FindSymbols("foo.island", lldb.eSymbolTypeCode)
         self.assertEqual(len(syms), 1, "We did generate an island for foo")
-        
+
         thread.StepInto()
         stop_frame = thread.frames[0]
         self.assertIn("foo", stop_frame.name, "Stepped into foo")
         var = stop_frame.FindVariable("a_variable_in_foo")
         self.assertTrue(var.IsValid(), "Found the variable in foo")

``````````

</details>


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


More information about the lldb-commits mailing list