https://github.com/playstation-edd created https://github.com/llvm/llvm-project/pull/101034
It's common in SIE development environments to have the PlayStation linkers on the %PATH%. In such cases, the driver will resolve the linker name to an existing executable, replete with ".exe" extension. Update recent modifications to clang/test/Driver/unified-lto.c to allow for this. >From a47358588bd9c16b1a47bc2091e58e1f627dfb29 Mon Sep 17 00:00:00 2001 From: Edd Dawson <edd.daw...@sony.com> Date: Mon, 29 Jul 2024 16:51:16 +0100 Subject: [PATCH] [PS4/PS5][Driver] Allow unified-lto.c test to find .*ld.exe It's common in SIE development environments to have the PlayStation linkers on the %PATH%. In such cases, the driver will resolve the linker name to an existing executable, replete with ".exe" extension. Update recent modifications to clang/test/Driver/unified-lto.c to allow for this. --- clang/test/Driver/unified-lto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/unified-lto.c b/clang/test/Driver/unified-lto.c index 490aaca59939d..445ca0bbf14f1 100644 --- a/clang/test/Driver/unified-lto.c +++ b/clang/test/Driver/unified-lto.c @@ -27,7 +27,7 @@ // RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=full 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s // RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=thin 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s -// LD: {{.*ld}}" +// LD: {{.*ld(\.exe)?}}" // LTOFULL-SAME: "--lto=full" // LTOTHIN-SAME: "--lto=thin" // NOLTO-NOT: "--lto _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits