[llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Oct 19 12:21:35 PDT 2007


Hi Bill,

> Yes. That's my understanding. If you look at
> obj-act.c:next_sjlj_build_try_catch_finally(), it has a big comment
> showing what it converts try-catch-finalize to.

thanks for fixing the test case.  I looked in the tree dumps and I
didn't see any of the stuff mentioned in that comment...  The good
news is that Unwind_Resume is not present at -O2.  But maybe we just
got lucky with this testcase.  The bad news is that Unwind_Resume is
declared (but not used) at -O0.  I think this is because as soon as
there is any exception handling, llvm-convert declares a bunch of
helpful functions including Unwind_Resume even if they are not used.
That should be easy to fix (I'll prepare a patch).

Ciao,

Duncan.



More information about the llvm-commits mailing list