[clang] [clang][driver][darwin] disable lld-repro for macOS (PR #173425)

Ian Anderson via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 23 15:23:00 PST 2025


https://github.com/ian-twilightcoder created https://github.com/llvm/llvm-project/pull/173425

lld doesn't support macOS, disable its driver test on macOS.

>From ebd06682abb59750d70b18c3433fafd2ed78e277 Mon Sep 17 00:00:00 2001
From: Ian Anderson <iana at apple.com>
Date: Tue, 23 Dec 2025 15:19:45 -0800
Subject: [PATCH] [clang][driver][darwin] disable lld-repro for macOS

lld doesn't support macOS, disable its driver test on macOS.
---
 clang/test/Driver/lld-repro.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/Driver/lld-repro.c b/clang/test/Driver/lld-repro.c
index 0e6340865b738..edb853c870fb8 100644
--- a/clang/test/Driver/lld-repro.c
+++ b/clang/test/Driver/lld-repro.c
@@ -1,5 +1,5 @@
 // REQUIRES: lld
-// UNSUPPORTED: target={{.*-(ps4|ps5)}}, target={{.*}}-zos{{.*}}
+// UNSUPPORTED: target={{.*-(ps4|ps5)}}, target={{.*}}-zos{{.*}}, target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}
 
 // RUN: echo "-nostartfiles -nostdlib -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t" \
 // RUN:   | sed -e 's/\\/\\\\/g' > %t.rsp



More information about the cfe-commits mailing list