| commit | 7937ef37969f7d46d8626e2b61a6ae8361afbea6 | [log] [tgz] |
|---|---|---|
| author | Vedant Kumar <vsk@apple.com> | Tue Jun 28 02:09:39 2016 +0000 |
| committer | Vedant Kumar <vsk@apple.com> | Tue Jun 28 02:09:39 2016 +0000 |
| tree | da524077905d16803c53d68fc50823be5f352880 | |
| parent | 9980075133ceec5746318ba133a1b09cffebd6ee [diff] |
Reapply "[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. Changes since the initial commit: - Avoid accidentally closing stdout twice. llvm-svn: 273985