From a675e0e03c4831e612dbad2128933d0bc7c1e9a2 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Fri, 30 Sep 2016 21:02:56 +0000 Subject: [PATCH] [sancov] -symbolize documentation update llvm-svn: 282948 --- clang/docs/SanitizerCoverage.rst | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index f32976e..19d8e4f 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -114,7 +114,7 @@ Sancov matches these files using module names and binaries file names. -print - Print coverage addresses -covered-functions - Print all covered functions. -not-covered-functions - Print all not covered functions. - -html-report - Print HTML coverage report. + -symbolize - Symbolizes the report. Options -blacklist= - Blacklist file (sanitizer blacklist format). @@ -122,13 +122,20 @@ Sancov matches these files using module names and binaries file names. -strip_path_prefix= - Strip this prefix from file paths in reports -Automatic HTML Report Generation +Coverage Reports (Experimental) ================================ -If ``*SAN_OPTIONS`` contains ``html_cov_report=1`` option set, then html -coverage report would be automatically generated alongside the coverage files. -The ``sancov`` binary should be present in ``PATH`` or -``sancov_path= my_program.123.symcov + +The ``.symcov`` file can be browsed overlayed over the source code by +running ``tools/sancov/sancov-report-server.py`` script that will start +an HTTP server. How good is the coverage? -- 2.7.4