[llvm] [orc-rt] Add Windows virtual memory support (PR #224521)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 22:26:44 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 orc-rt/test/regression/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-09-23 05:22:54.000000 +0000
+++ lit.cfg.py 2026-09-23 05:26:05.527907 +0000
@@ -96,11 +96,11 @@
# reports against an independent source.
config.substitutions.append(("%target-arch", config.target_triple.split("-")[0]))
# Add the page size from mmap this allows us to avoid another if statement as
# it would likely need ctypes for windows as it does not support sysconf
-config.substituions.append(('%host-page-size', mmap.PAGESIZE))
+config.substituions.append(("%host-page-size", mmap.PAGESIZE))
# Add host OS and arch substitutions for host-detection tests.
config.substitutions.append(("%host-arch", platform.machine()))
if platform.system() == "Darwin":
config.substitutions.append(("%host-os", "macosx"))
``````````
</details>
https://github.com/llvm/llvm-project/pull/224521
More information about the llvm-commits
mailing list