diff options
author | dim <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
commit | 3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65 (patch) | |
tree | dbbd4047878da71c1a706e26ce05b4e7791b14cc /test/Driver/frame-pointer-elim.c | |
parent | 38d6f2e7f2ce51a5b3836d26596c6c34a3288752 (diff) | |
download | FreeBSD-src-3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65.zip FreeBSD-src-3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65.tar.gz |
Vendor import of clang trunk r238337:
https://llvm.org/svn/llvm-project/cfe/trunk@238337
Diffstat (limited to 'test/Driver/frame-pointer-elim.c')
-rw-r--r-- | test/Driver/frame-pointer-elim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/frame-pointer-elim.c b/test/Driver/frame-pointer-elim.c index 286cd6e..5355cbe 100644 --- a/test/Driver/frame-pointer-elim.c +++ b/test/Driver/frame-pointer-elim.c @@ -26,5 +26,10 @@ // RUN: FileCheck --check-prefix=OMIT_LEAF %s // OMIT_LEAF: "-momit-leaf-frame-pointer" +// On the PS4, we default to omitting the frame pointer on leaf functions +// (OMIT_LEAF check line is above) +// RUN: %clang -### -target x86_64-scei-ps4 -S %s 2>&1 | \ +// RUN: FileCheck --check-prefix=OMIT_LEAF %s + void f0() {} void f1() { f0(); } |