llvm-6502/test/tools/llvm-cov/Inputs
Yuchen Wu 131a764e0e llvm-cov: Removed StringMap holding GCOVLines.
According to the hazy gcov documentation, it appeared to be technically
possible for lines within a block to belong to different source files.
However, upon further investigation, gcov does not actually support
multiple source files for a single block.

This change removes a level of separation between blocks and lines by
replacing the StringMap of GCOVLines with a SmallVector of ints
representing line numbers. This also means that the GCOVLines class is
no longer needed.

This paves the way for supporting the "-a" option, which will output
block information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194637 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-14 00:32:00 +00:00
..
README Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test_read_fail.gcno llvm-cov: Removed StringMap holding GCOVLines. 2013-11-14 00:32:00 +00:00
test.cpp Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test.cpp.gcov Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test.gcda Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00
test.gcno Added basic unit test for llvm-cov. 2013-11-13 22:50:15 +00:00

These inputs were pre-generated to allow for easier testing of llvm-cov.

test.gcno and test.gcda were create by running clang:
  clang++ -g -ftest-coverage -fprofile-arcs test.cpp

test.cpp.gcov was created by running gcov 4.2.1:
  gcov test.cpp