diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-02-04 06:41:39 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-02-04 06:41:39 +0000 |
commit | 9433c770f7cd72882fa33edf3b53dd62a23abc21 (patch) | |
tree | 577aabed381b36bd14b1b0fdd7d7e40ac9c2dab2 /test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov | |
parent | f7d0d0798ea06dfc2629cd458a273197b6bb73e1 (diff) | |
download | llvm-9433c770f7cd72882fa33edf3b53dd62a23abc21.tar.gz llvm-9433c770f7cd72882fa33edf3b53dd62a23abc21.tar.bz2 llvm-9433c770f7cd72882fa33edf3b53dd62a23abc21.tar.xz |
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
Diffstat (limited to 'test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov')
-rw-r--r-- | test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov b/test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov new file mode 100644 index 0000000000..c0a45c61ce --- /dev/null +++ b/test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov @@ -0,0 +1,8 @@ + -: 0:Source:./test.h + -: 0:Graph:test.gcno + -: 0:Data:- + -: 0:Runs:0 + -: 0:Programs:0 + #####: 1:struct A { + -: 2: virtual void B(); + -: 3:}; |