On Thu, Jun 12, 2025 at 5:20 PM Jeff Law <jeffreya...@gmail.com> wrote:
>
>
>
> On 6/10/25 1:09 AM, Konstantinos Eleftheriou wrote:
> > Testcase pr119160.c fails with symbol referencing errors for
> > `__cyg_profile_func_enter` and `__cyg_profile_func_exit` on non-glibc
> > systems.
> >
> > This patch adds empty definitions for `__cyg_profile_func_enter`
> > and `__cyg_profile_func_exit` in order to prevent those errors.
> >
> >       PR testsuite/119862
> >
> > gcc/testsuite/ChangeLog:
> >
> >       * gcc.dg/pr119160.c: Added empty definitions for
> >       `__cyg_profile_func_enter` and `__cyg_profile_func_exit`
> >       functions.
> Presumably they're getting pulled in via -finstrument-funtions-once?
Yes, indeed.
> Your approach seems to be what other tests do for this, so...
>
> OK.
>
> Jeff
>
Thanks for the review!

Konstantinos

Reply via email to