Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Coverage] Take filenames into account when loading function records. | Max Moroz | 2018-05-08 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | Summary: Don't skip functions with the same name but from different files. That change makes it possible to generate code coverage reports from different binaries compiled from different sources even if there are functions with non-unique names. Without that change, code coverage for such functions is missing except of the first function processed. Reviewers: vsk, morehouse Reviewed By: vsk Subscribers: llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D46478 llvm-svn: 331801 | ||||
* | [llvm-cov] Avoid over-counting covered lines and regions | Vedant Kumar | 2017-09-15 | 1 | -0/+17 |
* Fix an unsigned integer overflow in the logic that computes the number of uncovered lines in a function. * When aggregating region and line coverage summaries, take into account that different instantiations may have a different number of regions. The new test case provides test coverage for both bugs. I also verified this change by preparing a coverage report for a stage2 build of llc -- the new assertions should detect any outstanding over-counting bugs. Fixes PR34613. llvm-svn: 313417 |