Skip to content

Commit 78e7ec3

Browse files
[PS4/PS5][Driver] Allow unified-lto.c test to find .*ld.exe (llvm#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.
1 parent 25bea3e commit 78e7ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/unified-lto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=full 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s
2828
// RUN: %clang --target=x86_64-sie-ps5 -### %s -fno-unified-lto -flto=thin 2>&1 | FileCheck --check-prefixes=LD,NOLTO %s
2929

30-
// LD: {{.*ld}}"
30+
// LD: {{.*ld(\.exe)?}}"
3131
// LTOFULL-SAME: "--lto=full"
3232
// LTOTHIN-SAME: "--lto=thin"
3333
// NOLTO-NOT: "--lto

0 commit comments

Comments
 (0)