[LLVMdev] Exception Handling upgrade
Bill Wendling
wendling at apple.com
Fri Sep 30 16:49:20 PDT 2011
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
More information about the llvm-dev
mailing list