diff options
author | Vedant Kumar <vsk@apple.com> | 2016-07-15 22:44:57 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-07-15 22:44:57 +0000 |
commit | 424f51bb041ab23cfe14548563da7367c3ceaf1d (patch) | |
tree | d57094a350be1ec2fedb71929329e2ce1d9cf116 /llvm/docs/CommandGuide/llvm-cov.rst | |
parent | 6ab6b36475a4339e4a788b9f8ea40b25f6c9d033 (diff) | |
download | bcm5719-llvm-424f51bb041ab23cfe14548563da7367c3ceaf1d.tar.gz bcm5719-llvm-424f51bb041ab23cfe14548563da7367c3ceaf1d.zip |
[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.
llvm-svn: 275640
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cov.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-cov.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst index cdb36e7b98f..946b125a452 100644 --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/llvm/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 |