[clang] 28432b0 - [PS5] Verify defaults to -fno-stack-size-section
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 09:47:45 PDT 2022
Author: Paul Robinson
Date: 2022-05-24T09:47:37-07:00
New Revision: 28432b0f655641df7f9d079cf69ba235038d6340
URL: https://github.com/llvm/llvm-project/commit/28432b0f655641df7f9d079cf69ba235038d6340
DIFF: https://github.com/llvm/llvm-project/commit/28432b0f655641df7f9d079cf69ba235038d6340.diff
LOG: [PS5] Verify defaults to -fno-stack-size-section
Added:
Modified:
clang/test/Driver/stack-size-section.c
Removed:
################################################################################
diff --git a/clang/test/Driver/stack-size-section.c b/clang/test/Driver/stack-size-section.c
index 461f0b5c9aee..18fb55f4ac9f 100644
--- a/clang/test/Driver/stack-size-section.c
+++ b/clang/test/Driver/stack-size-section.c
@@ -1,4 +1,5 @@
// RUN: %clang -target x86_64-unknown %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
+// RUN: %clang -target x86_64-sie-ps5 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
// RUN: %clang -target x86_64-scei-ps4 -fno-stack-size-section %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
// CHECK-ABSENT-NOT: -fstack-size-section
@@ -6,4 +7,9 @@
// RUN: %clang -target x86_64-scei-ps4 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-PRESENT
// CHECK-PRESENT: -fstack-size-section
+// RUN: %clang -target x86_64-unknown -fstack-size-section -fno-stack-size-section -### 2>&1 \
+// RUN: | FileCheck %s --check-prefix=CHECK-ABSENT
+// RUN: %clang -target x86_64-unknown -fnostack-size-section -fstack-size-section -### 2>&1 \
+// RUN: | FileCheck %s --check-prefix=CHECK-PRESENT
+
int foo() { return 42; }
More information about the cfe-commits
mailing list