diff options
author | Alan Phipps <a-phipps@ti.com> | 2021-05-10 15:15:26 -0500 |
---|---|---|
committer | Alan Phipps <a-phipps@ti.com> | 2021-05-11 10:42:40 -0500 |
commit | 6400905a615282c83a2fc6e49e57ff716aa8b4de (patch) | |
tree | 3ecc65b326abb725b80b2b1409d3153c3148be25 /llvm/lib/TextAPI/Platform.cpp | |
parent | 2c1f9f390b0a5dd308e2e925fe250d19a29c103f (diff) | |
download | llvm-6400905a615282c83a2fc6e49e57ff716aa8b4de.zip llvm-6400905a615282c83a2fc6e49e57ff716aa8b4de.tar.gz llvm-6400905a615282c83a2fc6e49e57ff716aa8b4de.tar.bz2 |
Fix branch coverage merging in FunctionCoverageSummary::get() for instantiation
groups.
This change corrects the implementation for the branch coverage
summary to do the same thing for branches that is done for lines and regions.
That is, across function instantiations in an instantiation group, the maximum
branch coverage found in any of those instantiations is returned, with the
total number of branches being the same across instantiations.
Differential Revision: https://reviews.llvm.org/D102193
Diffstat (limited to 'llvm/lib/TextAPI/Platform.cpp')
0 files changed, 0 insertions, 0 deletions