[LLVMdev] Exception Handling upgrade

Garrison Venn gvenn.cfe.dev at gmail.com
Fri Sep 30 18:38:53 PDT 2011


Although not exhaustive in terms of the options available, the
llvm/examples/ExceptionDemo has been ported to the new 3.0 exception API.

Garrison

On Sep 30, 2011, at 19:49, Bill Wendling wrote:

> On Sep 30, 2011, at 11:02 AM, Charllls Alquarra wrote:
> 
>> Hi all,
>> 
>> Is it too soon to start porting EH code to the new C++ API?
> 
> Nope! :-)
> 
>> Are there sample implementations? llvm.org/demo still uses the old
>> EH gizmos. should we wait for 3.0 release?
> 
> If you're using the LLVM APIs, then looking at how it's implemented in clang is a good start:
> 
> 	clang/lib/CodeGen/CGException.cpp
> 
> If you're upgrading your bitcode files, then just (re)compile with top-of-tree clang, and you should get the new EH stuff automatically.
> 
> -bw
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list