This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Don't error on coverage mismatch by request
> It certainly makes sense to set PROFILE_ABSENT - just I don't know if
> this will work. We currently have the same 'warning' mode for
> no counts at all, no counts for the function and for mismatch with
> the patch - return no counters. I guess this should translate to
> PROFILE_ABSENT? I'll do a cleanup and re-post the patch.
I think thranslating it all to PROFILE_ABSENT is fine. With no counts
at all we might be compiling library that is never linked in, but in
that case we don't need to worry about code isze either.