Coverage: add HasCodeBefore flag to a mapping region.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 4 Aug 2014 18:00:51 +0000 (18:00 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 4 Aug 2014 18:00:51 +0000 (18:00 +0000)
commit1193b5e272db7aa969380e95503b2512d3f17270
treef449383b6a6234fec10c9daaac40dc759327077d
parent95305e9d79208c0a944986be69f54c2cfccd32aa
Coverage: add HasCodeBefore flag to a mapping region.

This flag will be used by the coverage tool to help
compute the execution counts for each line in a source file.

Differential Revision: http://reviews.llvm.org/D4746

llvm-svn: 214740
llvm/include/llvm/ProfileData/CoverageMapping.h
llvm/lib/ProfileData/CoverageMappingReader.cpp
llvm/lib/ProfileData/CoverageMappingWriter.cpp