https://github.com/mtrofin updated 
https://github.com/llvm/llvm-project/pull/151218

>From 5f2781893120f5f3c506502353912a6f039454de Mon Sep 17 00:00:00 2001
From: Mircea Trofin <mtro...@google.com>
Date: Tue, 29 Jul 2025 13:01:10 -0700
Subject: [PATCH] [NFC] test/lit.cfg.py formatting

---
 llvm/test/lit.cfg.py | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 143cc3817bd08..1d190fd20e573 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -451,7 +451,7 @@ def version_int(ver):
             "%llvmdylib",
             "{}/libLLVM{}.{}".format(
                 config.llvm_shlib_dir, config.llvm_shlib_ext, 
config.llvm_dylib_version
-            )
+            ),
         )
     )
 
@@ -582,6 +582,7 @@ def have_ld64_plugin_support():
 if have_ld64_plugin_support():
     config.available_features.add("ld64_plugin")
 
+
 def host_unwind_supports_jit():
     # Do we expect the host machine to support JIT registration of clang's
     # default unwind info format for the host (e.g. eh-frames, compact-unwind,
@@ -589,7 +590,7 @@ def host_unwind_supports_jit():
 
     # Linux and the BSDs use DWARF eh-frames and all known unwinders support
     # register_frame at minimum.
-    if platform.system() in [ "Linux", "FreeBSD", "NetBSD" ]:
+    if platform.system() in ["Linux", "FreeBSD", "NetBSD"]:
         return True
 
     # Windows does not support frame info without the ORC runtime.
@@ -602,10 +603,7 @@ def host_unwind_supports_jit():
     # macOS 14.0.
     if platform.system() == "Darwin":
 
-        assert (
-            "arm64" in config.host_triple
-            or "x86_64" in config.host_triple
-        )
+        assert "arm64" in config.host_triple or "x86_64" in config.host_triple
 
         if "x86_64" in config.host_triple:
             return True
@@ -627,6 +625,7 @@ def host_unwind_supports_jit():
 
     return False
 
+
 if host_unwind_supports_jit():
     config.available_features.add("host-unwind-supports-jit")
 

_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to