This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mudflap problem
dgraham wrote:
> [...] I suspect that most of the cost is in backtrace_symbols().
> Couldn't the conversion to symbolic names just be done when an error
> occurs, rather than every time a backtrace is captured?
That is a possibility. It might lose some information, should the
program layout change due to e.g. shared libraries, but that's a small
price to pay for the probable speed increase. You could test the
theory approximately by disabling HAVE_BACKTRACE_SYMBOLS.
- FChE