[LLVMdev] Exception Handling Tables Question
duncan.sands at math.u-psud.fr
Wed Sep 16 06:50:29 PDT 2009
> The reason to ask this is that
>> it could make the EH tables smaller and less cluttered if we elide
>> those areas which we know don't throw (the functions called are marked
>> 'nounwind', etc.).
> Sure, that's what the SawPotentiallyThrowing boolean is for. It is
> currently set for any call, but in fact needn't be set for 'nounwind'
> calls. When I wrote this stuff 'nounwind' information wasn't available
> at the codegen level, which is why this isn't done. In case you care,
> doing this would not hurt Ada :)
now I think about it further, I guess SawPotentiallyThrowing is not for
this exactly, you'll need to add some additional logic near this place.
More information about the llvm-dev