[PATCH] D17175: [sancov] correct object files handling.

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 16:34:05 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL260630: [sancov] improved object files handling. (authored by aizatsky).

Changed prior to commit:
  http://reviews.llvm.org/D17175?vs=47740&id=47751#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17175

Files:
  cfe/trunk/docs/SanitizerCoverage.rst

Index: cfe/trunk/docs/SanitizerCoverage.rst
===================================================================
--- cfe/trunk/docs/SanitizerCoverage.rst
+++ cfe/trunk/docs/SanitizerCoverage.rst
@@ -99,12 +99,14 @@
 
 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 @@
     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
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17175.47751.patch
Type: text/x-patch
Size: 1341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/7de208c3/attachment.bin>


More information about the llvm-commits mailing list