summaryrefslogtreecommitdiffstats
path: root/docs/SanitizerCoverage.rst
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2016-02-12 00:29:45 +0000
committerMike Aizatsky <aizatsky@chromium.org>2016-02-12 00:29:45 +0000
commita6d5566f868a8496d79721c8a1b82b22e214cb97 (patch)
tree48e937dbde4d77c9e047723147d6946d17acde85 /docs/SanitizerCoverage.rst
parentf47b5f09bf52ff60bb9f5fbad6f199d64168a82a (diff)
[sancov] improved object files handling.
Documentation change for: http://reviews.llvm.org/D17169 Differential Revision: http://reviews.llvm.org/D17175 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/SanitizerCoverage.rst')
-rw-r--r--docs/SanitizerCoverage.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/SanitizerCoverage.rst b/docs/SanitizerCoverage.rst
index 7b2a5c6315..371efc4e78 100644
--- a/docs/SanitizerCoverage.rst
+++ b/docs/SanitizerCoverage.rst
@@ -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