[Lldb-commits] [lldb] Add the Linux "you can use this binary" bits to run_to_source_breakpoint (PR #78377)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 16 17:56:24 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 a4cd99ea8736eda2b8b4de34453f55008bcf9c30...970fbad325ac101f930c2eb18a69d3341908b63b lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestExecutableFirst.py 2024-01-17 01:50:35.000000 +0000
+++ TestExecutableFirst.py 2024-01-17 01:56:17.298126 +0000
@@ -39,12 +39,14 @@
)
def test_executable_is_first_during_run(self):
self.build()
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
- self, "break after function call", lldb.SBFileSpec("main.cpp"),
- extra_images=["bar"]
+ self,
+ "break after function call",
+ lldb.SBFileSpec("main.cpp"),
+ extra_images=["bar"],
)
first_module = target.GetModuleAtIndex(0)
self.assertTrue(first_module.IsValid(), "We have at least one module")
executable_module = target.executable
``````````
</details>
https://github.com/llvm/llvm-project/pull/78377
More information about the lldb-commits
mailing list