llvm/test/tools/llvm-cov
Vedant Kumar 40a78f87a4 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273985 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-28 02:09:39 +00:00
..
Inputs [Coverage] Fix an issue where improper coverage mapping data could be loaded for an inline function. 2016-05-20 09:14:24 +00:00
binary-formats.c llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
combine_expansions.cpp [Coverage] Combine counts of expansion regions if there are no code regions for the same area. 2016-05-05 09:39:45 +00:00
copy_block_helper.m llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
cov-comdat.test [Coverage] add covmap v2 binary format regression test 2016-02-10 20:14:04 +00:00
gcov47_compatibility.cpp llvm-cov: Fix reading gcov data that does not have function names 2016-02-08 22:49:40 +00:00
lit.local.cfg Reapply "[Coverage] Prevent detection of false instantiations in case of macro expansion." 2016-04-18 15:36:30 +00:00
llvm-cov.test llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
prefer_used_to_unused.h [Coverage] Fix an issue where improper coverage mapping data could be loaded for an inline function. 2016-05-20 09:14:24 +00:00
prevent_false_instantiations.h [llvm-cov] Add a format option for the 'show' sub-command (mostly NFC) 2016-06-28 00:15:54 +00:00
range_based_for.cpp llvm-cov: Require a subcommand when invoked as llvm-cov 2015-03-24 23:34:36 +00:00
report.cpp llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
showExpansions.cpp InstrProf: Remove xfails for big-endian from coverage tests 2015-03-16 07:29:49 +00:00
showHighlightedRanges.cpp InstrProf: Remove xfails for big-endian from coverage tests 2015-03-16 07:29:49 +00:00
showLineExecutionCounts.cpp Reapply "[llvm-cov] Add an -output-dir option for the show sub-command"" 2016-06-28 02:09:39 +00:00
showRegionMarkers.cpp InstrProf: Fix display of large numbers in llvm-cov 2015-05-13 22:41:48 +00:00
showTemplateInstantiations.cpp [llvm-cov] Fix a buggy lit test 2016-06-22 23:58:03 +00:00
universal-binary.c llvm-cov: Only emit colour by default if the output is a tty 2015-03-19 00:02:23 +00:00
warnings.h [llvm-cov] Fix two warnings 2016-06-24 02:33:01 +00:00