[Lldb-commits] [lldb] Replace ArchSpec::PiecewiseCompare() with Triple::operator==() (PR #82804)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 23 10:06:58 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 750981f1a2c6069cded709b75cc87d7abd05277a...f1541edda94503adfaa52ef75e1fb53fce5f608e lldb/test/API/macosx/arm64e-attach/TestArm64eAttach.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestArm64eAttach.py 2024-02-23 18:03:17.000000 +0000
+++ TestArm64eAttach.py 2024-02-23 18:06:51.765685 +0000
@@ -17,9 +17,12 @@
target = self.dbg.CreateTarget("", "arm64", "", True, error)
listener = lldb.SBListener("my.attach.listener")
process = target.AttachToProcessWithID(listener, popen.pid, error)
self.assertSuccess(error)
self.assertTrue(process, PROCESS_IS_VALID)
- self.assertEqual(target.GetTriple().split('-')[0], "arm64e",
- "target triple is updated correctly")
+ self.assertEqual(
+ target.GetTriple().split("-")[0],
+ "arm64e",
+ "target triple is updated correctly",
+ )
error = process.Kill()
self.assertSuccess(error)
``````````
</details>
https://github.com/llvm/llvm-project/pull/82804
More information about the lldb-commits
mailing list