[llvm-commits] [llvm-gcc-4.2] r41171 - in /llvm-gcc-4.2/trunk/gcc: except.c except.h llvm-convert.cpp llvm-internal.h

Chris Lattner clattner at apple.com
Sun Aug 19 13:56:19 PDT 2007


On Aug 19, 2007, at 1:17 PM, Duncan Sands wrote:

> Exception handling rewrite - let gcc do the heavy
> lifting.  This patch strips out the existing LLVM
> eh code, and replaces it with simpler code that
> exploits gcc's eh machinery.  It requires running
> gcc's eh lowering pass (it was already being run
> in gcc-4.2).  Not only is the new code simpler,
> it also handles more cases correctly (essentially
> all of the gcc eh tests) and results in better
> quality bytecode.  In order to handle all of the
> gcc tests correctly, some small tweaks need to be
> made to the way LLVM handles the "nounwind"
> attribute.  I plan to take care of this later.

Excellent!  Can you elaborate on what the nounwind change is?

Welcome back Duncan,

-Chris



More information about the llvm-commits mailing list