Added POOLFLAGS option to run pool allocation
authorSumant Kowshik <kowshik@uiuc.edu>
Wed, 6 Aug 2003 01:03:28 +0000 (01:03 +0000)
committerSumant Kowshik <kowshik@uiuc.edu>
Wed, 6 Aug 2003 01:03:28 +0000 (01:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7624 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.tests

index bb2bb881f1f722f47006beee9ab70c40729487f5..1c08aec6c184c68e0e22a4dbf7241475fa405005 100644 (file)
@@ -77,7 +77,16 @@ ifeq ($(TRACEM), yes)
     TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH)
 endif
 
-LLCLIBS += -lm
+POOLFLAGS =
+DOPOOLALLOC =
+## If POOLALLOC is "yes", set the opt flag and the POOLLIBS varoab;e
+ifeq ($(POOLALLOC), yes)
+    POOLFLAGS += -poolalloc
+    DOPOOLALLOC = yes
+    POOLLIBS := -L$(LEVEL)/test/Libraries/Output
+endif
+
+LLCLIBS := $(LLCLIBS) -lm
 
 clean::
        $(RM) -f a.out core