summaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-07-15 22:44:57 +0000
committerVedant Kumar <vsk@apple.com>2016-07-15 22:44:57 +0000
commit13ca1ccb7628a4c2312e692f0169b0c4a983fb59 (patch)
treef8196d83c517754e335fd12a36f7737b0fa05a4c /docs/CommandGuide
parenta5ec41d9a9a577b91f3390a46590a5827a84d6dd (diff)
[llvm-cov] Optionally use a symbol demangler when preparing reports
Add an option to specify a symbol demangler (as well as options to the demangler). This can be used to make reports more human-readable. This option is especially useful in -output-dir mode, since it isn't as easy to manually pipe reports into a demangler in this mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/llvm-cov.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-cov.rst b/docs/CommandGuide/llvm-cov.rst
index cdb36e7b98f..946b125a452 100644
--- a/docs/CommandGuide/llvm-cov.rst
+++ b/docs/CommandGuide/llvm-cov.rst
@@ -248,6 +248,14 @@ OPTIONS
PATH/functions.EXTENSION. When used in file view mode, a report for each file
is written to PATH/REL_PATH_TO_FILE.EXTENSION.
+.. option:: -Xdemangler=<TOOL>|<TOOL-OPTION>
+
+ Specify a symbol demangler. This can be used to make reports more
+ human-readable. This option can be specified multiple times to supply
+ arguments to the demangler (e.g `-Xdemangler c++filt -Xdemangler -n` for C++).
+ The demangler is expected to read a newline-separated list of symbols from
+ stdin and write a newline-separated list of the same length to stdout.
+
.. option:: -line-coverage-gt=<N>
Show code coverage only for functions with line coverage greater than the