[PATCH] llvm-cov: Removed StripMap holding GCOVLines
Yuchen Wu
yuchenericwu at hotmail.com
Tue Nov 5 21:45:55 PST 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-llvm-cov-Removed-StringMap-holding-GCOVLines.patch
Type: application/octet-stream
Size: 6373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131106/7b286eb4/attachment.obj>
More information about the llvm-commits
mailing list