Re: [PATCH] gcov,x86: Mark GCOV broken for x86

From: Nick Desaulniers
Date: Mon Jun 14 2021 - 15:04:40 EST


On Mon, Jun 14, 2021 at 11:21 AM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> On Mon, Jun 14, 2021 at 11:05:35AM -0700, Nick Desaulniers wrote:
> > __attribute__((no_instrument_function)) is already wired to not emit
> > calls to mcount()/fentry(). I think extending it to also apply to
> > coverage (-fprofile-arcs) and instrumentation based profiling
> > (-fprofile-generate) is reasonable.
>
> Is anyone going to ping the gcc folks so that they do it too or should
> we open a bug over there simply?

Yes, I will file a bug (or two) against GCC and then post the links on
the other thread (re: pgo) since that already has the toolchains
mailing list cc'ed.
--
Thanks,
~Nick Desaulniers