r238031 - Add clarifying note that sampling-based profiles cannot be used for code coverage.

Diego Novillo dnovillo at google.com
Fri May 22 09:05:07 PDT 2015


Author: dnovillo
Date: Fri May 22 11:05:07 2015
New Revision: 238031

URL: http://llvm.org/viewvc/llvm-project?rev=238031&view=rev
Log:
Add clarifying note that sampling-based profiles cannot be used for code coverage.

Modified:
    cfe/trunk/docs/UsersManual.rst

Modified: cfe/trunk/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.rst?rev=238031&r1=238030&r2=238031&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.rst (original)
+++ cfe/trunk/docs/UsersManual.rst Fri May 22 11:05:07 2015
@@ -1290,6 +1290,10 @@ If you are not using Linux Perf to colle
 write a conversion tool from your profiler to LLVM's format. This section
 explains the file format expected by the backend.
 
+NOTE: This format is not intended to be used for code coverage. For that,
+you need to use Clang's instrumentation based profiling
+(``-fprofile-instr-generate``).
+
 Sample profiles are written as ASCII text. The file is divided into sections,
 which correspond to each of the functions executed at runtime. Each
 section has the following format (taken from





More information about the cfe-commits mailing list