llvm-cov: Implement --no-output
authorJustin Bogner <mail@justinbogner.com>
Wed, 7 May 2014 02:11:18 +0000 (02:11 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 7 May 2014 02:11:18 +0000 (02:11 +0000)
commit56d05e468cdfd4ad195f264974f1b841bc4ca785
tree6b64409c6ba060df470fa71f1a73f671869d32e3
parent6d46f2d3941474d5db59c0dc4e85779ca1af3376
llvm-cov: Implement --no-output

In gcov, there's a -n/--no-output option, which disables the writing
of any .gcov files, so that it emits only the summary info on stdout.
This implements the same behaviour in llvm-cov.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208148 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
test/tools/llvm-cov/Inputs/test_no_output.output [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test
tools/llvm-cov/llvm-cov.cpp