diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-14 00:32:00 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-14 00:32:00 +0000 |
commit | 131a764e0e7abc90b322fd568e042d3c5a0633af (patch) | |
tree | d5844b31868fa1b75acd086e89644bec44313af3 /test/tools/llvm-cov | |
parent | dbb51ff01fd08df39e5040c1cd9edacdc3e4308a (diff) | |
download | external_llvm-131a764e0e7abc90b322fd568e042d3c5a0633af.zip external_llvm-131a764e0e7abc90b322fd568e042d3c5a0633af.tar.gz external_llvm-131a764e0e7abc90b322fd568e042d3c5a0633af.tar.bz2 |
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
Diffstat (limited to 'test/tools/llvm-cov')
-rw-r--r-- | test/tools/llvm-cov/Inputs/test_read_fail.gcno | bin | 0 -> 111 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/tools/llvm-cov/Inputs/test_read_fail.gcno b/test/tools/llvm-cov/Inputs/test_read_fail.gcno Binary files differnew file mode 100644 index 0000000..63b5d71 --- /dev/null +++ b/test/tools/llvm-cov/Inputs/test_read_fail.gcno |