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
026165fad70420d85defb5fc9109c138250058ee...4cee76dff9b474a6a6bd278ea69cde6c3be924ad
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 2024-04-11 04:07:36.000000 +0000
+++ TestMemoryHistory.py 2024-04-11 04:13:35.480116 +0000
@@ -33,11 +33,13 @@
# Test line numbers: rdar://126237493
def libsanitizer_tests(self):
target = self.createTestTarget()
- self.runCmd("env SanitizersAddress=1 MallocSanitizerZone=1
MallocSecureAllocator=0")
+ self.runCmd(
+ "env SanitizersAddress=1 MallocSanitizerZone=1
MallocSecureAllocator=0"
+ )
self.runCmd("run")
# In libsanitizers, memory history is not supported until a report has
been generated
# test the 'memory history' command
self.expect(
--- TestReportData.py 2024-04-11 04:07:36.000000 +0000
+++ TestReportData.py 2024-04-11 04:13:35.523564 +0000
@@ -36,11 +36,13 @@
def asan_tests(self, libsanitizers=False):
target = self.createTestTarget()
if libsanitizers:
- self.runCmd("env SanitizersAddress=1 MallocSanitizerZone=1
MallocSecureAllocator=0")
+ self.runCmd(
+ "env SanitizersAddress=1 MallocSanitizerZone=1
MallocSecureAllocator=0"
+ )
else:
self.registerSanitizerLibrariesWithTarget(target)
self.runCmd("run")
``````````
</details>
https://github.com/llvm/llvm-project/pull/88349
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits