[compiler-rt] r372674 - [llvm-cov] NFC: Specify a specific C++ standard in the test.
Artem Dergachev via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 17:01:51 PDT 2019
Author: dergachev
Date: Mon Sep 23 17:01:51 2019
New Revision: 372674
URL: http://llvm.org/viewvc/llvm-project?rev=372674&view=rev
Log:
[llvm-cov] NFC: Specify a specific C++ standard in the test.
Makes life easier for downstream users with customized default standard.
Modified:
compiler-rt/trunk/test/profile/instrprof-merging.cpp
Modified: compiler-rt/trunk/test/profile/instrprof-merging.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-merging.cpp?rev=372674&r1=372673&r2=372674&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-merging.cpp (original)
+++ compiler-rt/trunk/test/profile/instrprof-merging.cpp Mon Sep 23 17:01:51 2019
@@ -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.
More information about the llvm-commits
mailing list