This patch causes llvm-gcc to output itanium style exception handling code. It does not turn on zero cost exceptions (they cannot be turned on until llvm-gcc is capable of correctly building the unwinder in the runtime library - this is PR1379). Tested by bootstrapping the compiler and running the entire testsuite. There were no regressions.
Ciao, Duncan. Index: gcc.llvm/gcc/llvm-convert.cpp =================================================================== --- gcc.llvm.orig/gcc/llvm-convert.cpp 2007-07-06 15:22:45.000000000 +0200 +++ gcc.llvm/gcc/llvm-convert.cpp 2007-07-06 15:23:01.000000000 +0200 @@ -63,7 +63,7 @@ extern int get_pointer_alignment (tree exp, unsigned int max_align); } -//#define ITANIUM_STYLE_EXCEPTIONS +#define ITANIUM_STYLE_EXCEPTIONS //===----------------------------------------------------------------------===// // Matching LLVM Values with GCC DECL trees _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits