Commit Graph

3 Commits

Author SHA1 Message Date
Andrea Di Biagio 8b1e70325a Added a test to check that exception flags are not passed by default on PS4.
This patch adds an extra test case to clang-exception-flags.cpp.
No functional change intended.

Patch by Wolfgang Pieb!

Reviewers: filcab, alexr

Differential Revision: http://reviews.llvm.org/D7298


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228394 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-06 13:02:39 +00:00
Filipe Cabecinhas e301059555 Force an unknown target for the default case to make it work.
Summary:
This test was failing if LLVM_DEFAULT_TARGET_TRIPLE=x86_64-scei-ps4 due to
its behavior for exceptions.
Force an --unknown triple for the default case.

Reviewers: echristo, chandlerc

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D7422

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228337 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-05 19:48:48 +00:00
Chandler Carruth b154063c70 Add a test case that would have caught the bug fixed in r126640.
I've only covered C++'s flags here, we should probably do something
similar for ObjC flags.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126641 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-28 07:38:09 +00:00