r260630 - [sancov] improved object files handling.
Mike Aizatsky via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 11 16:29:45 PST 2016
Author: aizatsky
Date: Thu Feb 11 18:29:45 2016
New Revision: 260630
URL: http://llvm.org/viewvc/llvm-project?rev=260630&view=rev
Log:
[sancov] improved object files handling.
Documentation change for: http://reviews.llvm.org/D17169
Differential Revision: http://reviews.llvm.org/D17175
Modified:
cfe/trunk/docs/SanitizerCoverage.rst
Modified: cfe/trunk/docs/SanitizerCoverage.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SanitizerCoverage.rst?rev=260630&r1=260629&r2=260630&view=diff
==============================================================================
--- cfe/trunk/docs/SanitizerCoverage.rst (original)
+++ cfe/trunk/docs/SanitizerCoverage.rst Thu Feb 11 18:29:45 2016
@@ -99,12 +99,14 @@ Sancov Tool
A new experimental ``sancov`` tool is developed to process coverage files.
The tool is part of LLVM project and is currently supported only on Linux.
-It can handle symbolization tasks autonomously without needed any extra
-support from environment.
+It can handle symbolization tasks autonomously without any extra support
+from the environment. You need to pass .sancov files (named
+``<module_name>.<pid>.sancov`` and paths to all corresponding binary elf files.
+Sancov matches these files using module names and binaries file names.
.. code-block:: console
- USAGE: sancov [options] <action> <filenames...>
+ USAGE: sancov [options] <action> (<binary file>|<.sancov file>)...
Action (required)
-print - Print coverage addresses
@@ -115,7 +117,6 @@ support from environment.
Options
-blacklist=<string> - Blacklist file (sanitizer blacklist format).
-demangle - Print demangled function name.
- -obj=<string> - Path to object file to be symbolized
-strip_path_prefix=<string> - Strip this prefix from file paths in reports
More information about the cfe-commits
mailing list