[compiler-rt] r372674 - [llvm-cov] NFC: Specify a specific C++ standard in the test.
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 16:09:11 PDT 2019
Thanks!
> On Sep 23, 2019, at 5:01 PM, Artem Dergachev via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> 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.
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list