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. _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
