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 | |
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')
-rw-r--r-- | clang/test/Index/load-stmts.cpp | 2 | ||||
-rw-r--r-- | clang/test/Profile/cxx-throws.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Index/load-stmts.cpp b/clang/test/Index/load-stmts.cpp index ed0debdd762..4a44c66156b 100644 --- a/clang/test/Index/load-stmts.cpp +++ b/clang/test/Index/load-stmts.cpp @@ -117,7 +117,7 @@ void casts(int *ip) { (void)reinterpret_cast<float *>(ip); } -// RUN: c-index-test -test-load-source all -fno-delayed-template-parsing %s | FileCheck %s +// RUN: c-index-test -test-load-source all -fno-delayed-template-parsing -frtti %s | FileCheck %s // CHECK: load-stmts.cpp:1:13: TypedefDecl=T:1:13 (Definition) Extent=[1:1 - 1:14] // CHECK: load-stmts.cpp:2:8: StructDecl=X:2:8 (Definition) Extent=[2:1 - 2:23] // CHECK: load-stmts.cpp:2:16: FieldDecl=a:2:16 (Definition) Extent=[2:12 - 2:17] 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 |