https://github.com/boomanaiden154 updated 
https://github.com/llvm/llvm-project/pull/168655

>From 43de7d103c99fb50167129291f14c9b28af92687 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <[email protected]>
Date: Wed, 19 Nov 2025 16:55:18 +0000
Subject: [PATCH] feedback

Created using spr 1.3.7
---
 compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py 
b/compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
index b09c1f7cd3daa..fc99cd78808e3 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
+++ b/compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
@@ -29,7 +29,8 @@ def get_product_version():
 
 
 macos_version_major, macos_version_minor = get_product_version()
-if macos_version_major > 10 and macos_version_minor > 11:
-    config.available_features.add("mac-os-10-11-or-higher")
-else:
-    config.available_features.add("mac-os-10-10-or-lower")
+if config.apple_platform == "osx":
+    if macos_version_major > 10 and macos_version_minor > 11:
+        config.available_features.add("mac-os-10-11-or-higher")
+    else:
+        config.available_features.add("mac-os-10-10-or-lower")

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to