[llvm-commits] CVS: llvm/test/Programs/External/SPEC/Makefile.spec

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 23 14:22:01 PDT 2004


Changes in directory llvm/test/Programs/External/SPEC:

Makefile.spec updated: 1.29 -> 1.30

---
Log message:

Fix the print-profile target for spec, add OPTPASSES debugging support


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

Index: llvm/test/Programs/External/SPEC/Makefile.spec
diff -u llvm/test/Programs/External/SPEC/Makefile.spec:1.29 llvm/test/Programs/External/SPEC/Makefile.spec:1.30
--- llvm/test/Programs/External/SPEC/Makefile.spec:1.29	Fri Mar  5 11:13:49 2004
+++ llvm/test/Programs/External/SPEC/Makefile.spec	Fri Apr 23 14:22:06 2004
@@ -145,7 +145,7 @@
 Output/%.bugpoint-gccld: Output/%.noopt-llvm.bc $(LBUGPOINT) \
                          Output/gccld-pass-args Output/%.out-nat
 	$(SPEC_SANDBOX) bugpoint-$(RUN_TYPE) $@ $(REF_IN_DIR) \
-	    $(LBUGPOINT) ../../$< `cat Output/gccld-pass-args` $(BUGPOINT_OPTIONS)
+	    $(LBUGPOINT) ../../$< `cat Output/gccld-pass-args` $(OPTPASSES) $(BUGPOINT_OPTIONS)
 	@echo "===> Leaving Output/bugpoint-$(RUN_TYPE)"
 
 $(PROGRAMS_TO_TEST:%=Output/%.bugpoint-llc): \
@@ -172,6 +172,7 @@
             -fake-argv0 '../$*.llvm.bc' -load ../../$(LIBPROFILESO) ../../$< -llvmprof-output ../../$@ $(RUN_OPTIONS)
 	-(cd Output/profile-$(RUN_TYPE); cat $(LOCAL_OUTPUTS)) > Output/$*.out-prof
 	-cp Output/profile-$(RUN_TYPE)/$(STDOUT_FILENAME).time $@.time
+	-cp Output/profile-$(RUN_TYPE)/llvmprof.out $@
 	@cmp -s Output/$*.out-prof Output/$*.out-nat || \
 		printf "***\n***\n*** WARNING: Output of profiled program (Output/$*.out-prof)\n*** doesn't match the output of the native program (Output/$*.out-nat)!\n***\n***\n";
 





More information about the llvm-commits mailing list