diff options
author | Sumant Kowshik <kowshik@uiuc.edu> | 2003-08-06 01:03:28 +0000 |
---|---|---|
committer | Sumant Kowshik <kowshik@uiuc.edu> | 2003-08-06 01:03:28 +0000 |
commit | c961a2923bb48c1bb2e2584c29c37c278f0f62eb (patch) | |
tree | d2cbd71c808c3945b614fd3ec8ac65f393a7626a /test/Makefile.tests | |
parent | 7496ec51b8e43f604865cedaf24712664adbbf2c (diff) |
Added POOLFLAGS option to run pool allocation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r-- | test/Makefile.tests | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests index bb2bb881f1..1c08aec6c1 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -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 |