2015-10-14 20:25:43 +08:00
|
|
|
// UNSUPPORTED: system-windows
|
|
|
|
// REQUIRES: x86-registered-target
|
|
|
|
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: mkdir -p %T/Output
|
2016-05-17 01:22:25 +08:00
|
|
|
// RUN: rm -f %T/Output/orbis-ld
|
|
|
|
// RUN: touch %T/Output/orbis-ld
|
|
|
|
// RUN: chmod +x %T/Output/orbis-ld
|
2015-10-14 20:25:43 +08:00
|
|
|
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=gold 2>&1 \
|
2015-10-14 20:25:43 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared 2>&1 \
|
2015-10-14 20:25:43 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
|
|
|
|
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s 2>&1 \
|
2015-10-14 20:25:43 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -fuse-ld=ps4 2>&1 \
|
2015-10-14 20:25:43 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PS4-LINKER %s
|
2015-10-19 16:27:51 +08:00
|
|
|
// RUN: env "PATH=%T/Output:%PATH%" %clang -### -target x86_64-scei-ps4 %s -shared \
|
2015-10-14 20:25:43 +08:00
|
|
|
// RUN: -fuse-ld=ps4 2>&1 | FileCheck --check-prefix=CHECK-PS4-LINKER %s
|
|
|
|
|
2016-05-17 01:22:25 +08:00
|
|
|
// CHECK-PS4-LINKER: /orbis-ld
|