[llvm-commits] [test-suite] r45258 - /test-suite/trunk/Makefile.programs

Dale Johannesen dalej at apple.com
Wed Dec 19 23:46:04 PST 2007


Author: johannes
Date: Thu Dec 20 01:46:03 2007
New Revision: 45258

URL: http://llvm.org/viewvc/llvm-project?rev=45258&view=rev
Log:
Enable unwinding EH on PPC and x86.  Damn the torpedos.


Modified:
    test-suite/trunk/Makefile.programs

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=45258&r1=45257&r2=45258&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Thu Dec 20 01:46:03 2007
@@ -310,9 +310,18 @@
 # If the program requires exception handling support, enable (potentially
 # expensive) support for it.
 ifdef REQUIRES_EH_SUPPORT
+# PPC and X86 support DWARF exceptions, for everything else, default to SJLJ
+ifeq ($(ARCH),PowerPC)
+LLCFLAGS += -enable-eh
+else
+ifeq ($(ARCH),x86)
+LLCFLAGS += -enable-eh
+else
 LLCFLAGS += -enable-correct-eh-support
 LLVMLD_FLAGS += -disable-inlining
 endif
+endif
+endif
 
 # Pass target specific llc flags
 ifdef TARGET_LLCFLAGS





More information about the llvm-commits mailing list