[clang] 4a3e2af - Reland "[PS5] Verify defaults to -fno-stack-size-section"

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 10:09:47 PDT 2022


Author: Paul Robinson
Date: 2022-05-24T10:09:39-07:00
New Revision: 4a3e2aff5f849278f6c49678fd21f8ca5e59c4e7

URL: https://github.com/llvm/llvm-project/commit/4a3e2aff5f849278f6c49678fd21f8ca5e59c4e7
DIFF: https://github.com/llvm/llvm-project/commit/4a3e2aff5f849278f6c49678fd21f8ca5e59c4e7.diff

LOG: Reland "[PS5] Verify defaults to -fno-stack-size-section"

This reverts commit efebb27b745a0d677ad2ea9aefff242c12aef29c.
Fixes typos (accidentally omitted %s from some RUN lines).

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..f50c9767e707 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 %s -### 2>&1 \
+// RUN:     | FileCheck %s --check-prefix=CHECK-ABSENT
+// RUN: %clang -target x86_64-unknown -fno-stack-size-section -fstack-size-section %s -### 2>&1 \
+// RUN:     | FileCheck %s --check-prefix=CHECK-PRESENT
+
 int foo() { return 42; }


        


More information about the cfe-commits mailing list