[LLVMdev] UpgradeExceptionHandling

Renato Golin rengolin at systemcall.org
Thu Sep 22 07:51:15 PDT 2011


On 22 September 2011 15:37, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote:
> UpgradeExceptionHandling(...). This function will convert all the functions in a
> module using the pre 3.0 exception intrinsics into use of the new 3.0 landingpad
> instruction.

Nice!


> The
> new system is more concise, and therefore cleaner, as it merges in the old
> llvm::Intrinsic::eh_selector, and llvm::Intrinsic::eh_exception intrinsics into one landpad
> instruction. Also I'm not sure if use of UpgradeExceptionHandling(...) is an approved
> approach so depending on it may be at one's own expense.

Just thought I'd mention, Duncan's slides are really good at capturing
the essence of the changes:

http://llvm.org/devmtg/2011-09-16/EuroLLVM2011-ExceptionHandling.pdf

It really help those that have to migrate...

-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-dev mailing list