This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Allow emergency EH pool size to be controlled (for stage 1)
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: Jonathan Wakely <jwakely at redhat dot com>, "libstdc++" <libstdc++ at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Markus Eisenmann <meisenmann dot lba at fh-salzburg dot ac dot at>
- Date: Tue, 13 Dec 2016 15:52:42 +0100
- Subject: Re: RFC: Allow emergency EH pool size to be controlled (for stage 1)
- Authentication-results: sourceware.org; auth=none
- References: <20161213135000.GP6326@redhat.com> <CAFiYyc3ZVkDQXhhQogY-3wq=R3O6vn8uDriVoTymz0Rnm-W_0g@mail.gmail.com> <CAFk2RUZHdu2M1cwK96H1XZuaZmDX0OZUru9fy+fNsoiecgXshg@mail.gmail.com>
On Tue, Dec 13, 2016 at 3:45 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 13 December 2016 at 16:42, Richard Biener <richard.guenther@gmail.com> wrote:
>> Also maybe N should be the number of exception objects rather
>> than bytes? Otherwise a target independent N is hard to specify
>> for say, a distribution that wants either a different default or a
>> static buffer.
>
>
> But how to specify the number of exception objects that may have
> different sizes?
We have EMERGENCY_OBJ_SIZE for this (yeah, some guesstimate)
which can be easily target configured in libstdc++ itself. We possibly
should split it into a sizeof () of the exception header plus some
payload guesstimate.
Richard.