Skip to content

Commit 28432b0

Browse files
committed
[PS5] Verify defaults to -fno-stack-size-section
1 parent 415b9f5 commit 28432b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
// RUN: %clang -target x86_64-unknown %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
2+
// RUN: %clang -target x86_64-sie-ps5 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
23
// RUN: %clang -target x86_64-scei-ps4 -fno-stack-size-section %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
34
// CHECK-ABSENT-NOT: -fstack-size-section
45

56
// RUN: %clang -target x86_64-unknown -fstack-size-section -### 2>&1 | FileCheck %s --check-prefix=CHECK-PRESENT
67
// RUN: %clang -target x86_64-scei-ps4 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-PRESENT
78
// CHECK-PRESENT: -fstack-size-section
89

10+
// RUN: %clang -target x86_64-unknown -fstack-size-section -fno-stack-size-section -### 2>&1 \
11+
// RUN: | FileCheck %s --check-prefix=CHECK-ABSENT
12+
// RUN: %clang -target x86_64-unknown -fnostack-size-section -fstack-size-section -### 2>&1 \
13+
// RUN: | FileCheck %s --check-prefix=CHECK-PRESENT
14+
915
int foo() { return 42; }

0 commit comments

Comments
 (0)