[Lldb-commits] [lldb] [LLDB] Add integration test for libsanitizers trace collection (PR #134323)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 4 16:14:02 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/functionalities/asan/TestMemoryHistory.py lldb/test/API/functionalities/asan/TestReportData.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestMemoryHistory.py 2025-04-04 23:10:05.000000 +0000
+++ TestMemoryHistory.py 2025-04-04 23:13:34.229548 +0000
@@ -57,13 +57,11 @@
)
# Set breakpoint: after free, but before bug
def set_breakpoint(self, target):
bkpt = target.BreakpointCreateByLocation("main.c", self.line_breakpoint)
- self.assertGreater(
- bkpt.GetNumLocations(), 0, "Set the breakpoint successfully"
- )
+ self.assertGreater(bkpt.GetNumLocations(), 0, "Set the breakpoint successfully")
def run_to_breakpoint(self, target):
self.set_breakpoint(target)
self.runCmd("run")
self.expect(
``````````
</details>
https://github.com/llvm/llvm-project/pull/134323
More information about the lldb-commits
mailing list