llvm-cov: Ignore missing .gcda files
authorJustin Bogner <mail@justinbogner.com>
Tue, 4 Feb 2014 06:41:39 +0000 (06:41 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 4 Feb 2014 06:41:39 +0000 (06:41 +0000)
commit9433c770f7cd72882fa33edf3b53dd62a23abc21
tree577aabed381b36bd14b1b0fdd7d7e40ac9c2dab2
parentf7d0d0798ea06dfc2629cd458a273197b6bb73e1
llvm-cov: Ignore missing .gcda files

When gcov is run without gcda data, it acts as if the counts are all
zero and labels the file as - to indicate that there was no data. We
should do the same.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200740 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cov/Inputs/test_no_gcda.cpp.gcov [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_no_gcda.output [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test
tools/llvm-cov/llvm-cov.cpp