[llvm-commits] CVS: llvm/test/Makefile.tests

Vikram Adve vadve at cs.uiuc.edu
Tue Jun 3 13:58:02 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.59 -> 1.60

---
Log message:

Improved how tracing can be used: 
-- added new targets %.trace-out-llc and %.trace-out-cbe
-- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.59 llvm/test/Makefile.tests:1.60
--- llvm/test/Makefile.tests:1.59	Mon Jun  2 00:49:09 2003
+++ llvm/test/Makefile.tests	Tue Jun  3 13:56:53 2003
@@ -63,15 +63,21 @@
 NATGCC  = /usr/dcs/software/supported/bin/gcc
 CP	= /bin/cp -f
 
+## If TRACE or TRACEM is "yes", set the appropriate llc flag (-trace or -tracem)
+## mark that tracing on, and set the TRACELIBS variable.
 ifeq ($(TRACE), yes)
-    LLCFLAGS += -trace basicblock
-    LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
+    LLCFLAGS += -trace
+    DOTRACING = yes
 else
     ifeq ($(TRACEM), yes)
-	LLCFLAGS += -trace function
-	LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
+	LLCFLAGS += -tracem
+	DOTRACING = yes
     endif
 endif
+ifeq ($(DOTRACING), yes)
+    TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
+endif
+
 
 LLCLIBS := $(LLCLIBS) -lm
 





More information about the llvm-commits mailing list