[LLVMdev] Alternative exception handling proposal

Bill Wendling wendling at apple.com
Thu Dec 2 15:39:38 PST 2010


On Dec 2, 2010, at 3:02 AM, Renato Golin wrote:

> On 2 December 2010 10:41, Duncan Sands <baldrick at free.fr> wrote:
>> In theory it is possible to have several personality functions per
>> function, but I'm not sure it is worth the effort of supporting.
> 
> Indeed.
> 
> Not to mention that there is no way to enforce that on a per-call
> basis in any language I know. Also, I can't think of a reason for the
> front-end to decide that per function call...
> 
> One personality definition per function should be enough…
> 
The problem comes about with LTO. It's an entirely new problem, because LTO (and gcc's version of it) didn't exist before it. There is a PR about handling multiple personality functions in a function. It's just a matter of having the libunwind mechanism handling it.

-bw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101202/1c6fd8c1/attachment.html>


More information about the llvm-dev mailing list