[Openmp-commits] [openmp] [OpenMP][OMPD] Add symbol lookup helper for GDB plugin (PR #221956)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 8 03:55:43 PDT 2026


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 origin/main...HEAD openmp/libompd/gdb-plugin/ompd/ompd.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
--- ompd.py	2026-09-08 10:47:24.000000 +0000
+++ ompd.py	2026-09-08 10:55:03.880787 +0000
@@ -81,13 +81,11 @@
                         traceback.print_exc()
                     return
                 i = i + 1
 
             if last_dl_error:
-                raise ValueError(
-                    "OMPD library could not be loaded: %s" % last_dl_error
-                )
+                raise ValueError("OMPD library could not be loaded: %s" % last_dl_error)
             raise ValueError("OMPD library could not be loaded!")
         except:
             traceback.print_exc()
 
 

``````````

</details>


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


More information about the Openmp-commits mailing list