[LLVMdev] Inlining and exception handling in LLVM and GCC

Duncan Sands baldrick at free.fr
Tue Dec 7 11:54:38 PST 2010


Hi John,

>> if I changed the inliner so it does its best to find the eh.selector for an
>> invoke, and propagates the information onto the things it inlines, would clang
>> make use of it (i.e. output cleanups rather than turning them into catch-alls)?
>
> We'd still have problems — cleanups would have to chain with
> _Unwind_Resume_or_Rethrow, because most of the platforms we support rely
> on correct compiler use of _Unwind_Resume — but it might be worthwhile.

OK, I'll see if I can come up with something reasonable (probably next week)
that we can at least play around with.

Ciao, Duncan.



More information about the llvm-dev mailing list