Dwarf Exception Handling question
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Mon Nov 23 12:08:39 PST 2015
On 23 November 2015 at 19:32, David Nadlinger via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
> On Monday, 23 November 2015 at 17:31:51 UTC, Walter Bright wrote:
>
>> And why is there a 'default' call to _Unwind_Resume if RDX isn't an
>> expected value? Shouldn't the personality routine simply not jump to the
>> landing pad if none of the catch types are satisfied?
>>
>
> The reason LDC emits the __d_eh_resume_unwind call all the time is because
> it is needed as soon as there is a cleanup involved anyway, and so far I
> was just too lazy to optimize the extra branch away in the special case
> that there are no cleanups.
>
>
We seem to be doing very similar things here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20151123/679a5bf1/attachment.html>
More information about the Digitalmars-d
mailing list