[Lldb-commits] [lldb] More refinement of call site handling in stepping. (PR #114628)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 1 17:30:52 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 80b9f07436617d650bdab7035394705f643d1b19...042ac07ed67a5465aaf5c2dc8c4396adf5da2948 lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
``````````

</details>

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

``````````diff
--- TestInlineStepping.py	2024-11-02 00:23:12.000000 +0000
+++ TestInlineStepping.py	2024-11-02 00:30:29.551403 +0000
@@ -327,15 +327,15 @@
         self.assertEqual(len(threads), 1, "Hit our second breakpoint")
         self.assertEqual(threads[0].id, self.thread.id, "Stopped at right thread")
         self.thread.StepOver()
         frame_0 = self.thread.frames[0]
         line_entry = frame_0.line_entry
-        self.assertEqual(line_entry.file.basename, self.main_source_spec.basename, "File matches")
+        self.assertEqual(
+            line_entry.file.basename, self.main_source_spec.basename, "File matches"
+        )
         target_line = line_number("calling.cpp", "// At caller_trivial_inline_1")
         self.assertEqual(line_entry.line, target_line, "Lines match as well.")
-        
-        
 
     def step_in_template(self):
         """Use Python APIs to test stepping in to templated functions."""
         exe = self.getBuildArtifact("a.out")
 

``````````

</details>


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


More information about the lldb-commits mailing list