Coveralls is capable of reporting not only covered lines in a build, but
also the number of times a given branch was taken vs. not taken. This
will help us identify locations where we might make better use of the
openssl_likely and openssl_unlikely macros to optimize branch prediction
when building openssl
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27839)
--exclude "${PWD}/fuzz/*"
--exclude "/usr/include/*"
--ignore-errors mismatch
+ --branch-coverage
-o ./lcov.info
- name: Coveralls upload
uses: coverallsapp/github-action@v2.3.2
CFLAGS => picker(default => "-Wall",
debug => "-O0 -g",
release => "-O3",
- profiled => "-O3 -fprofile-generate -fprofile-arcs -fprofile-values -ftest-coverage",
- pgo => "-O3 -fprofile-use -Wno-missing-profile"),
+ pgo => "-O3 -fprofile-use -Wno-coverage-mismatch"),
CXXFLAGS => picker(default => "-Wall",
debug => "-O0 -g",
release => "-O3"),
{
$config{build_type} = "debug";
}
- elsif (/^-p$/)
- {
- $config{build_type} = "profiled";
- }
elsif (/^-v$/) # From older 'config'
{
$guess_opts{verbose} = 1;
{
$config{build_type} = "release";
}
- elsif (/^--profiled$/)
- {
- $config{build_type} = "profiled";
- }
elsif (/^--pgo$/)
{
$config{build_type} = "pgo";