[llvm] Reland "[CodeView] Generate `S_DEFRANGE_REGISTER_REL_INDIR`" (PR #189401)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 07:57:22 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 cross-project-tests/lit.cfg.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
--- lit.cfg.py	2026-03-30 14:13:19.000000 +0000
+++ lit.cfg.py	2026-03-30 14:56:46.936312 +0000
@@ -423,16 +423,19 @@
     try:
         import win32api
     except:
         return None
 
-    info = win32api.GetFileVersionInfo(dbgeng, '\\')
-    ms = info['FileVersionMS']
-    ls = info['FileVersionLS']
-    return (win32api.HIWORD(ms), win32api.LOWORD(ms),
-            win32api.HIWORD(ls), win32api.LOWORD(ls))
+    info = win32api.GetFileVersionInfo(dbgeng, "\\")
+    ms = info["FileVersionMS"]
+    ls = info["FileVersionLS"]
+    return (
+        win32api.HIWORD(ms),
+        win32api.LOWORD(ms),
+        win32api.HIWORD(ls),
+        win32api.LOWORD(ls),
+    )
 
 
 dbgeng_version = get_dbgeng_version()
 if dbgeng_version and dbgeng_version >= (10, 0, 19041, 0):
     config.available_features.add("dbgeng-10-19041")
-

``````````

</details>


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


More information about the llvm-commits mailing list