summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/cxx-throws.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-04-23 02:11:16 +0000
committerSean Silva <chisophugis@gmail.com>2016-04-23 02:11:16 +0000
commit1e51ac29b1141a141d0fadc9c3c3e3285a008267 (patch)
treea28ab7cb6023b787d4149a67c8951b8f86c99175 /clang/test/Profile/cxx-throws.cpp
parent55274e3fcbb758209d51f707dccc26cc3d44f411 (diff)
downloadbcm5719-llvm-1e51ac29b1141a141d0fadc9c3c3e3285a008267.tar.gz
bcm5719-llvm-1e51ac29b1141a141d0fadc9c3c3e3285a008267.zip
[profile] Use cc1 in these tests instead of the driver.
I ran into this when seeing what tests would break if we make a driver-level decision about whether FEPGO or IRPGO is the default. llvm-svn: 267262
Diffstat (limited to 'clang/test/Profile/cxx-throws.cpp')
-rw-r--r--clang/test/Profile/cxx-throws.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Profile/cxx-throws.cpp b/clang/test/Profile/cxx-throws.cpp
index 6b33416cdbb..ef56c8b2880 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 -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: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=clang -fexceptions -fcxx-exceptions -triple %itanium_abi_triple | FileCheck -check-prefix=PGOGEN %s
+// RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument=clang -fexceptions -fcxx-exceptions -triple %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 -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
+// RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument-use-path=%t.profdata -fexceptions -fcxx-exceptions -triple %itanium_abi_triple | FileCheck -check-prefix=PGOUSE %s
+// RUN: %clang_cc1 %s -o - -emit-llvm -fprofile-instrument-use-path=%t.profdata -fexceptions -fcxx-exceptions -triple %itanium_abi_triple | FileCheck -check-prefix=PGOUSE-EXC %s
// PGOGEN: @[[THC:__profc__Z6throwsv]] = private global [9 x i64] zeroinitializer
// PGOGEN-EXC: @[[THC:__profc__Z6throwsv]] = private global [9 x i64] zeroinitializer
OpenPOWER on IntegriCloud