[PATCH] D16133: [Coverage] : introduce class hierarchy (funcRecordReader) to support multiple versions of coverage data

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 22:59:01 PST 2016


davidxl created this revision.
davidxl added a reviewer: vsk.
davidxl added a subscriber: llvm-commits.

With the planned size reduction change, the coverage format version is expected to be bumped up. This patch adds necessary support such that backward compatibility can be kept with maximal code sharing. Reading different versions of coverage data just requires instantiating the reader according to the version.

No functional change is intended.

http://reviews.llvm.org/D16133

Files:
  include/llvm/ProfileData/CoverageMapping.h
  lib/ProfileData/CoverageMappingReader.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16133.44711.patch
Type: text/x-patch
Size: 6973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160113/8fb93b5d/attachment.bin>


More information about the llvm-commits mailing list