This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: exception handling poll
- To: rth at cygnus dot com
- Subject: Re: exception handling poll
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Thu, 16 Oct 97 14:24:36 PDT
- Cc: egcs at cygnus dot com
> A little poll for those that have been complaining about
> exception handling frame unwind info being included for C:
>
> Assuming the .eh_frame section is completely read-only, at what
> eh/text ratio would you find it acceptible that that information
> is always there?
>
> Can you live with 10%? 8? 5? 3?
If the .eh_frame section does not get paged into memory, then I think 10% is
acceptable (remember that the in-memory penalty is essentially zero). For
kernels or embedded code where there is no paging, the acceptable figure
is smaller, and I suspect that folks would use -fno-exceptions no matter
how small the penalty is (unless it is 2% or less).