[llvm-commits] CVS: llvm/test/Programs/Makefile.programs

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 13 17:02:10 PST 2004


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.117 -> 1.118

---
Log message:

The cbackend now uses the lower-invoke pass, so it supports the  -enable-correct-eh-support
option


---
Diffs of the changes:  (+5 -1)

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.117 llvm/test/Programs/Makefile.programs:1.118
--- llvm/test/Programs/Makefile.programs:1.117	Fri Feb 13 16:36:05 2004
+++ llvm/test/Programs/Makefile.programs	Fri Feb 13 17:01:36 2004
@@ -254,12 +254,16 @@
 	sed 's/Pass Arguments: //' < $@.1 > $@
 
 
+ifdef REQUIRES_EH_SUPPORT
+CBEFLAGS += -enable-correct-eh-support
+endif
+
 #
 # Rules to compile the program for the C Back End
 #
 $(PROGRAMS_TO_TEST:%=Output/%.cbe.c): \
 Output/%.cbe.c: Output/%.llvm.bc $(LDIS)
-	-$(LDIS) -c $< -o $@ -f
+	-$(LDIS) $(CBEFLAGS) -c $< -o $@ -f
 
 $(PROGRAMS_TO_TEST:%=Output/%.cbe): \
 Output/%.cbe: Output/%.cbe.c





More information about the llvm-commits mailing list