[llvm-branch-commits] [compiler-rt] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 19 08:55:29 PST 2025


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 <aidengrossman at google.com>
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")



More information about the llvm-branch-commits mailing list