[llvm-commits] [patch] Change how we handle mandatory unwind tables

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Tue May 24 06:59:57 PDT 2011


On 11-05-24 9:52 AM, Renato Golin wrote:
> 2011/5/24 Rafael Ávila de Espíndola<rafael.espindola at gmail.com>:
>>> I'm confused.  What has prune-eh got to do with unwind-tables?
>>
>> It adds the nounwind attribute.
>
> But Clang also adds them all over the place, and I believe for the same reasons.
>
> I suppose prune-eh does that after (or during) optimization passes,
> shouldn't the front-end, then, rely on prune-eh for that?

I think the reason the FE does it too is to avoid creating tables when 
they are not necessary (32 bit x86 for example).

> cheers,
> --renato

Cheers,
Rafael



More information about the llvm-commits mailing list