brintos

brintos / llvm-project-archived public Read only

0
0
Text · 870 B · 7e97c98 Raw
13 lines · plain
1! Test that flang forwards -fno-omit-frame-pointer and -fomit-frame-pointer Flang frontend2! RUN: %flang --target=aarch64-none-none -fsyntax-only -### %s -o %t 2>&1  | FileCheck %s --check-prefix=CHECK-NOVALUE3! CHECK-NOVALUE: "-fc1"{{.*}}"-mframe-pointer=non-leaf-no-reserve"4 5! RUN: %flang -fomit-frame-pointer --target=aarch64-none-none -fsyntax-only -### %s -o %t 2>&1  | FileCheck %s --check-prefix=CHECK-NONEFP6! CHECK-NONEFP: "-fc1"{{.*}}"-mframe-pointer=none"7 8! RUN: %flang -fno-omit-frame-pointer --target=aarch64-none-none -fsyntax-only -### %s -o %t 2>&1  | FileCheck %s --check-prefix=CHECK-NONLEAFFP9! CHECK-NONLEAFFP: "-fc1"{{.*}}"-mframe-pointer=non-leaf-no-reserve"10 11! RUN: %flang -fno-omit-frame-pointer --target=x86-none-none -fsyntax-only -### %s -o %t 2>&1  | FileCheck %s --check-prefix=CHECK-ALLFP12! CHECK-ALLFP: "-fc1"{{.*}}"-mframe-pointer=all"13