Author: Edd Dawson Date: 2024-07-30T09:03:21+01:00 New Revision: 78e7ec3be88bac7f3cd9ab32758156d479b0a106
URL: https://github.com/llvm/llvm-project/commit/78e7ec3be88bac7f3cd9ab32758156d479b0a106 DIFF: https://github.com/llvm/llvm-project/commit/78e7ec3be88bac7f3cd9ab32758156d479b0a106.diff LOG: [PS4/PS5][Driver] Allow unified-lto.c test to find .*ld.exe (#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. Added: Modified: clang/test/Driver/unified-lto.c Removed: ################################################################################ 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