[flang-commits] [llvm] [clang-tools-extra] [flang] [clang] [flang] Pass to add frame pointer attribute (PR #74598)
Radu Salavat via flang-commits
flang-commits at lists.llvm.org
Fri Dec 22 09:43:27 PST 2023
================
@@ -1,9 +1,12 @@
! Test that flang-new forwards -fno-omit-frame-pointer and -fomit-frame-pointer Flang frontend
-! RUN: %flang -fno-omit-frame-pointer --target=x86-none-none -fsyntax-only -### %s -o %t 2>&1 | FileCheck %s
-! CHECK: "-mframe-pointer=all"
+! RUN: %flang --target=aarch64-none-none -fsyntax-only -### %s -o %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOVALUE
+! CHECK-NOVALUE: "-mframe-pointer=non-leaf"
----------------
Radu2k wrote:
If we add this then it will be added as `"-fc1"{{.*}}"`. Why is it necessary?
https://github.com/llvm/llvm-project/pull/74598
More information about the flang-commits
mailing list