diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-28 00:18:57 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-28 00:18:57 +0000 |
commit | 02507c435ca6957468cbaac76e8135494a0266c0 (patch) | |
tree | a7a644f55f9995e21e7de77da5e8cbf73c58a5f4 /llvm/tools/llvm-cov/CoverageViewOptions.h | |
parent | dcbf4d68b2cc64319e65696b3bb09be1612605e9 (diff) | |
download | bcm5719-llvm-02507c435ca6957468cbaac76e8135494a0266c0.tar.gz bcm5719-llvm-02507c435ca6957468cbaac76e8135494a0266c0.zip |
[llvm-cov] Add an -output-dir option for the show sub-command
Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if
it doesn't already exist, and prints reports into that directory.
In function view mode, all views are written into
path/to/dir/functions.$EXTENSION. In file view mode, all views are
written into path/to/dir/coverage/$PATH.$EXTENSION.
llvm-svn: 273971
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageViewOptions.h')
-rw-r--r-- | llvm/tools/llvm-cov/CoverageViewOptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cov/CoverageViewOptions.h b/llvm/tools/llvm-cov/CoverageViewOptions.h index 93bc09ca9d8..bde8b82520b 100644 --- a/llvm/tools/llvm-cov/CoverageViewOptions.h +++ b/llvm/tools/llvm-cov/CoverageViewOptions.h @@ -30,6 +30,7 @@ struct CoverageViewOptions { bool ShowFunctionInstantiations; bool ShowFullFilenames; OutputFormat ShowFormat; + std::string ShowOutputDirectory; /// \brief Change the output's stream color if the colors are enabled. ColoredRawOstream colored_ostream(raw_ostream &OS, |