[Lldb-commits] [lldb] [lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (PR #93297)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 5 01:56:18 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 e3ed9e30b7b7102daf37f9464efc06b3d2e1a160...183f76dfb73821640cfdf19901703d0a8ff447ff lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
``````````

</details>

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

``````````diff
--- TestLinuxCore.py	2024-06-05 08:38:06.000000 +0000
+++ TestLinuxCore.py	2024-06-05 08:55:41.407878 +0000
@@ -677,15 +677,44 @@
         values["t5"] = "0x0000000000000020"
         values["t6"] = "0x0000002ae919f1b0"
         values["zero"] = "0x0"
         values["fcsr"] = "0x00000000"
 
-        fpr_names = {"ft0", "ft1", "ft2", "ft3", "ft4", "ft5", "ft6", "ft7",
-                     "ft8", "ft9", "ft10", "ft11",
-                     "fa0", "fa1", "fa2", "fa3", "fa4", "fa5", "fa6", "fa7",
-                     "fs0", "fs1", "fs2", "fs3", "fs4", "fs5", "fs6", "fs7",
-                     "fs8", "fs9", "fs10", "fs11"}
+        fpr_names = {
+            "ft0",
+            "ft1",
+            "ft2",
+            "ft3",
+            "ft4",
+            "ft5",
+            "ft6",
+            "ft7",
+            "ft8",
+            "ft9",
+            "ft10",
+            "ft11",
+            "fa0",
+            "fa1",
+            "fa2",
+            "fa3",
+            "fa4",
+            "fa5",
+            "fa6",
+            "fa7",
+            "fs0",
+            "fs1",
+            "fs2",
+            "fs3",
+            "fs4",
+            "fs5",
+            "fs6",
+            "fs7",
+            "fs8",
+            "fs9",
+            "fs10",
+            "fs11",
+        }
         fpr_value = "0x0000000000000000"
 
         for regname, value in values.items():
             self.expect(
                 "register read {}".format(regname),

``````````

</details>


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


More information about the lldb-commits mailing list