
* 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
15 lines
113 B
C++
15 lines
113 B
C++
#define DEF
|
|
#include "header.h"
|
|
|
|
int main() {
|
|
f1();
|
|
|
|
int *x;
|
|
f2(&x);
|
|
|
|
float *y;
|
|
f2(&y);
|
|
|
|
return 0;
|
|
}
|