mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -160,9 +160,6 @@ std::error_code RawCoverageMappingReader::readMappingRegionsSubArray(
|
||||
case CounterMappingRegion::CodeRegion:
|
||||
// Don't do anything when we have a code region with a zero counter.
|
||||
break;
|
||||
case CounterMappingRegion::EmptyRegion:
|
||||
Kind = CounterMappingRegion::EmptyRegion;
|
||||
break;
|
||||
case CounterMappingRegion::SkippedRegion:
|
||||
Kind = CounterMappingRegion::SkippedRegion;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user