[PATCH] Add test to clang-exception-flags.cpp

Wolfgang Pieb wolfgang_pieb at playstation.sony.com
Fri Jan 30 08:41:44 PST 2015


Hi alexr, filcab,

Added a test case to check that exception flags are not passed by default on PS4.

http://reviews.llvm.org/D7298

Files:
  test/Driver/clang-exception-flags.cpp

Index: test/Driver/clang-exception-flags.cpp
===================================================================
--- test/Driver/clang-exception-flags.cpp
+++ test/Driver/clang-exception-flags.cpp
@@ -21,3 +21,6 @@
 //
 // RUN: %clang -### -fexceptions -fno-cxx-exceptions %s 2>&1 | FileCheck %s -check-prefix=OFF4
 // OFF4-NOT: "-cc1" {{.*}} "-fcxx-exceptions"
+//
+// RUN: %clang -### -target x86_64-scei-ps4 %s 2>&1 | FileCheck %s -check-prefix=PS4-OFF
+// PS4-OFF-NOT: "-cc1" {{.*}} "-f{{(cxx-)?}}exceptions"

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7298.19041.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150130/ff8553ef/attachment.bin>


More information about the cfe-commits mailing list