|
1 | 1 | // Test that PIE is the default for main components |
2 | 2 |
|
3 | | -// RUN: %clang --target=x86_64-scei-ps5 %s -### 2>&1 | FileCheck --check-prefixes=CHECK-PIE %s |
| 3 | +// RUN: %clang --target=x86_64-sie-ps5 %s -### 2>&1 | FileCheck --check-prefixes=CHECK-PIE %s |
4 | 4 |
|
5 | 5 | // CHECK-PIE: {{ld(\.exe)?}}" |
6 | 6 | // CHECK-PIE-SAME: "-pie" |
7 | 7 |
|
8 | | -// RUN: %clang --target=x86_64-scei-ps5 -no-pie %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
9 | | -// RUN: %clang --target=x86_64-scei-ps5 -r %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
10 | | -// RUN: %clang --target=x86_64-scei-ps5 -shared %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE,CHECK-SHARED %s |
11 | | -// RUN: %clang --target=x86_64-scei-ps5 -static %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
| 8 | +// RUN: %clang --target=x86_64-sie-ps5 -no-pie %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
| 9 | +// RUN: %clang --target=x86_64-sie-ps5 -r %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
| 10 | +// RUN: %clang --target=x86_64-sie-ps5 -shared %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE,CHECK-SHARED %s |
| 11 | +// RUN: %clang --target=x86_64-sie-ps5 -static %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-PIE %s |
12 | 12 |
|
13 | 13 | // CHECK-NO-PIE: {{ld(\.exe)?}}" |
14 | 14 | // CHECK-NO-PIE-NOT: "-pie" |
15 | 15 | // CHECK-SHARED: "--shared" |
16 | 16 |
|
17 | 17 | // Test that -static is forwarded to the linker |
18 | 18 |
|
19 | | -// RUN: %clang --target=x86_64-scei-ps5 -static %s -### 2>&1 | FileCheck --check-prefixes=CHECK-STATIC %s |
| 19 | +// RUN: %clang --target=x86_64-sie-ps5 -static %s -### 2>&1 | FileCheck --check-prefixes=CHECK-STATIC %s |
20 | 20 |
|
21 | 21 | // CHECK-STATIC: {{ld(\.exe)?}}" |
22 | 22 | // CHECK-STATIC-SAME: "-static" |
23 | 23 |
|
24 | 24 | // Test the driver's control over the JustMyCode behavior with linker flags. |
25 | 25 |
|
26 | | -// RUN: %clang --target=x86_64-scei-ps5 -fjmc %s -### 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIB %s |
27 | | -// RUN: %clang --target=x86_64-scei-ps5 -flto -fjmc %s -### 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIB %s |
| 26 | +// RUN: %clang --target=x86_64-sie-ps5 -fjmc %s -### 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIB %s |
| 27 | +// RUN: %clang --target=x86_64-sie-ps5 -flto -fjmc %s -### 2>&1 | FileCheck --check-prefixes=CHECK,CHECK-LIB %s |
28 | 28 |
|
29 | 29 | // CHECK: -plugin-opt=-enable-jmc-instrument |
30 | 30 |
|
|
33 | 33 |
|
34 | 34 | // Test the driver's control over the -fcrash-diagnostics-dir behavior with linker flags. |
35 | 35 |
|
36 | | -// RUN: %clang --target=x86_64-scei-ps5 -fcrash-diagnostics-dir=mydumps %s -### 2>&1 | FileCheck --check-prefixes=CHECK-DIAG %s |
37 | | -// RUN: %clang --target=x86_64-scei-ps5 -flto -fcrash-diagnostics-dir=mydumps %s -### 2>&1 | FileCheck --check-prefixes=CHECK-DIAG %s |
| 36 | +// RUN: %clang --target=x86_64-sie-ps5 -fcrash-diagnostics-dir=mydumps %s -### 2>&1 | FileCheck --check-prefixes=CHECK-DIAG %s |
| 37 | +// RUN: %clang --target=x86_64-sie-ps5 -flto -fcrash-diagnostics-dir=mydumps %s -### 2>&1 | FileCheck --check-prefixes=CHECK-DIAG %s |
38 | 38 |
|
39 | 39 | // CHECK-DIAG: -plugin-opt=-crash-diagnostics-dir=mydumps |
0 commit comments