[LLVMdev] Darwin vs exceptions
Duncan Sands
baldrick at free.fr
Wed Dec 12 12:10:47 PST 2007
How about this?
Index: gcc-4.2.llvm/gcc/except.c
===================================================================
--- gcc-4.2.llvm.orig/gcc/except.c 2007-12-12 20:55:30.000000000 +0100
+++ gcc-4.2.llvm/gcc/except.c 2007-12-12 20:56:19.000000000 +0100
@@ -4053,9 +4053,9 @@
{
/* The default c++ routines aren't actually c++ specific, so use those. */
/* LLVM local begin */
- llvm_unwind_resume_libfunc = llvm_init_one_libfunc ( USING_SJLJ_EXCEPTIONS ?
- "_Unwind_SjLj_Resume"
- : "_Unwind_Resume");
+ llvm_unwind_resume_libfunc =
+ llvm_init_one_libfunc(USING_SJLJ_EXCEPTIONS ?
+ "_Unwind_SjLj_Resume" : "_Unwind_Resume_or_Rethrow");
/* LLVM local end */
}
More information about the llvm-dev
mailing list