summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-09-24 00:01:51 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-09-24 00:01:51 +0000
commit837273711e0bbd778573e51171d00e6a4f1174a5 (patch)
treeaa3ab191bfd99c97dd7c6c96b7676828ae53a247
parent2c5e6646ef1300f6bff212d607e50057a637f271 (diff)
downloadbcm5719-llvm-837273711e0bbd778573e51171d00e6a4f1174a5.tar.gz
bcm5719-llvm-837273711e0bbd778573e51171d00e6a4f1174a5.zip
[llvm-cov] NFC: Specify a specific C++ standard in the test.
Makes life easier for downstream users with customized default standard. llvm-svn: 372674
-rw-r--r--compiler-rt/test/profile/instrprof-merging.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/compiler-rt/test/profile/instrprof-merging.cpp b/compiler-rt/test/profile/instrprof-merging.cpp
index 06f05ce612a..692b049ec45 100644
--- a/compiler-rt/test/profile/instrprof-merging.cpp
+++ b/compiler-rt/test/profile/instrprof-merging.cpp
@@ -1,8 +1,11 @@
// 1) Compile shared code into different object files and into an executable.
-// RUN: %clangxx_profgen -fcoverage-mapping %s -c -o %t.v1.o -D_VERSION_1
-// RUN: %clangxx_profgen -fcoverage-mapping %s -c -o %t.v2.o -D_VERSION_2
-// RUN: %clangxx_profgen -fcoverage-mapping %t.v1.o %t.v2.o -o %t.exe
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %s -c -o %t.v1.o \
+// RUN: -D_VERSION_1
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %s -c -o %t.v2.o \
+// RUN: -D_VERSION_2
+// RUN: %clangxx_profgen -std=c++14 -fcoverage-mapping %t.v1.o %t.v2.o \
+// RUN: -o %t.exe
// 2) Collect profile data.
OpenPOWER on IntegriCloud