diff options
author | Filipe Cabecinhas <me@filcab.net> | 2015-02-05 19:48:48 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2015-02-05 19:48:48 +0000 |
commit | 566e584bd4a12566f27fc3c3712a690d44a4635a (patch) | |
tree | 9ec6b1466dd97f4cc88b61ca3b36708e3a0e78df /clang/test/Driver/clang-exception-flags.cpp | |
parent | 19763c48df28503fc15eccaad4043d0e731d66a3 (diff) | |
download | bcm5719-llvm-566e584bd4a12566f27fc3c3712a690d44a4635a.tar.gz bcm5719-llvm-566e584bd4a12566f27fc3c3712a690d44a4635a.zip |
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
llvm-svn: 228337
Diffstat (limited to 'clang/test/Driver/clang-exception-flags.cpp')
-rw-r--r-- | clang/test/Driver/clang-exception-flags.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Driver/clang-exception-flags.cpp b/clang/test/Driver/clang-exception-flags.cpp index 90a9ebf5e44..8c27d9b16d2 100644 --- a/clang/test/Driver/clang-exception-flags.cpp +++ b/clang/test/Driver/clang-exception-flags.cpp @@ -1,4 +1,6 @@ -// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT +// We force the target to unknown because clang's default behavior for +// exception handling is target dependent. +// RUN: %clang -### -target unknown %s 2>&1 | FileCheck %s -check-prefix=DEFAULT // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" // // RUN: %clang -### -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON1 |