[clang] [llvm] [DLCov 3/5] Implement DebugLoc origin-tracking (PR #107369)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 02:15:09 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 5f05d5ec8f9bb15c0ac29fce843a2c73165ac414...194069a26418fc4dbb27cee13d5b4263588320b7 llvm/utils/llvm-original-di-preservation.py
``````````

</details>

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

``````````diff
--- llvm-original-di-preservation.py	2024-09-04 18:19:22.000000 +0000
+++ llvm-original-di-preservation.py	2024-09-05 09:14:40.387275 +0000
@@ -112,11 +112,13 @@
                 row.append(llvm_pass)
                 row.append(x.instr)
                 row.append(x.fn_name)
                 row.append(x.bb_name)
                 row.append(x.action)
-                row.append(f"<details><summary>View Origin StackTrace</summary><pre>{x.origin}</pre></details>")
+                row.append(
+                    f"<details><summary>View Origin StackTrace</summary><pre>{x.origin}</pre></details>"
+                )
                 row.append("    </tr>\n")
             # Dump the bugs info into the table.
             for column in row:
                 # The same file-pass pair can have multiple bugs.
                 if column == "    <tr>\n" or column == "    </tr>\n":

``````````

</details>


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


More information about the cfe-commits mailing list