From: Filipe Cabecinhas Date: Wed, 28 Jan 2015 18:49:45 +0000 (+0000) Subject: Testcase for PS4 target defaults (from r227215 and r227219) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bfb98d4ac7aa387f522a760e07447b106fe96dd;p=clang Testcase for PS4 target defaults (from r227215 and r227219) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/ps4-cpu-defaults.cpp b/test/Driver/ps4-cpu-defaults.cpp new file mode 100644 index 0000000000..b42ec6c7dc --- /dev/null +++ b/test/Driver/ps4-cpu-defaults.cpp @@ -0,0 +1,7 @@ +// Check that on the PS4 we default to: +// -target-cpu btver2, -momit-leaf-frame-pointer, and no exceptions + +// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s +// CHECK: "-target-cpu" "btver2" +// CHECK: -momit-leaf-frame-pointer +// CHECK-NOT: exceptions