Original file line numberDiff line numberDiff line change Expand Up@@ -2,7 +2,7 @@ # See lcovrc(5) # Always enable branch coverage lcov_branch_coverage= 1 branch_coverage= 1 # Disable exception branch for C++: # https://github.com/linux-test-project/lcov/issues/209 Expand Down...
$ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 $ g++ 1.cpp -fprofile-arcs -ftest-coverage -g -o 1 -std=c++11 $ lcov -c --rc lcov_branch_coverage=1 --no-external -d . -o 1.info $ genhtml -s --rc lcov_branch_coverage=1 --legend 1.info -o o Output With...