finstrument-functions issues

Matthew J Fletcher amimjf at gmail.com
Wed Jun 2 14:34:38 UTC 2021


Hi

Has anyone tried with -finstrument-functions with the rtems-5 branch a (gcc
7.5.0) ? even with a minimal stub (shown), i get random crashes, normally
in the heap allocate/free code paths

__attribute__((no_instrument_function)) void __cyg_profile_func_enter (void
*this_fn, void *call_site)
{
}
__attribute__((no_instrument_function)) void __cyg_profile_func_exit (void
*this_fn, void *call_site)
{
}

Removing  -finstrument-functions from the makefiles removes the crashes.


regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210602/9db03988/attachment.html>


More information about the users mailing list