coverage: remove empty mapping regions
authorAlex Lorenz <arphaman@gmail.com>
Fri, 25 Jul 2014 22:22:24 +0000 (22:22 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 25 Jul 2014 22:22:24 +0000 (22:22 +0000)
commitb2ebf2a08b1c1bf1f7629a7ff6c1c28d38058e21
tree5d8ee91a031828d43da0d4fe32adab422ddaff93
parent2178054216fb78fd4469404e3fa4d9b1f2ab43f6
coverage: remove empty mapping regions

This patch removes the empty coverage mapping regions.
Those regions were produced by clang's old mapping region generation
algorithm, but the new algorithm doesn't generate them.

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