diff options
author | Filipe Cabecinhas <me@filcab.net> | 2015-02-26 18:29:41 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2015-02-26 18:29:41 +0000 |
commit | a076430ba9e5d42513a85fd69dd9f39e327c332d (patch) | |
tree | b47f3aa4cb0599e9b8cc7408d9b54eaa4e5d9166 /clang/test/Profile/cxx-throws.cpp | |
parent | 7360fb62063272510e4d3f690b19c505326f0b02 (diff) | |
download | bcm5719-llvm-a076430ba9e5d42513a85fd69dd9f39e327c332d.tar.gz bcm5719-llvm-a076430ba9e5d42513a85fd69dd9f39e327c332d.zip |
Add -frtti/-fexceptions to some more tests that assume they're on
llvm-svn: 230656
Diffstat (limited to 'clang/test/Profile/cxx-throws.cpp')
-rw-r--r-- | clang/test/Profile/cxx-throws.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Profile/cxx-throws.cpp b/clang/test/Profile/cxx-throws.cpp index e28b37ded55..17f4d8c2e8d 100644 --- a/clang/test/Profile/cxx-throws.cpp +++ b/clang/test/Profile/cxx-throws.cpp @@ -3,12 +3,12 @@ // FIXME: Don't seek bb labels, like "if.else" // REQUIRES: asserts -// RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN %s -// RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN-EXC %s +// RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -fexceptions -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN %s +// RUN: %clangxx %s -o - -emit-llvm -S -fprofile-instr-generate -fexceptions -target %itanium_abi_triple | FileCheck -check-prefix=PGOGEN-EXC %s // RUN: llvm-profdata merge %S/Inputs/cxx-throws.proftext -o %t.profdata -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%t.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s -// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%t.profdata -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s +// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%t.profdata -fcxx-exceptions -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s +// RUN: %clang %s -o - -emit-llvm -S -fprofile-instr-use=%t.profdata -fcxx-exceptions -target %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s // PGOGEN: @[[THC:__llvm_profile_counters__Z6throwsv]] = hidden global [9 x i64] zeroinitializer // PGOGEN-EXC: @[[THC:__llvm_profile_counters__Z6throwsv]] = hidden global [9 x i64] zeroinitializer |