[PATCH] Tests for coverage mapping
Alex Lorenz
arphaman at gmail.com
Tue Aug 5 11:33:56 PDT 2014
================
Comment at: test/CoverageMapping/break.c:3
@@ +2,3 @@
+// RUN: %clang %s -fprofile-instr-generate -fcoverage-mapping -O2 -o %t/test
+// RUN: (cd %t; %t/test)
+// RUN: llvm-profdata merge %t/default.profraw -o %t/pgodata
----------------
Reid Kleckner wrote:
> I don't think we allow execution tests in Clang's internal test suite. Can this live in test-suite?
I can take out the execution part then, so it will look something like this:
// RUN: %clang %s -fprofile-instr-generate -fcoverage-mapping -O2 -o %stest
// RUN: llvm-cov dump %stest| FileCheck %s
http://reviews.llvm.org/D4793
More information about the cfe-commits
mailing list