Make the Stacker compiler handle -O1 .. -O5 options so it is compliant with

the compiler driver interface as an optimizing translator. Also clean up
error message handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-09-04 19:05:53 +00:00
parent a11c2e8fb9
commit 2c711577ab
2 changed files with 97 additions and 70 deletions

View File

@@ -9,7 +9,10 @@ LEVEL=../../../..
# Give the name of a library. This will build a dynamic version.
#
TOOLNAME=stkrc
USEDLIBS=stkr_compiler asmparser bcwriter vmcore support.a LLVMsystem.a
USEDLIBS=stkr_compiler asmparser bcwriter transforms ipo.a ipa.a \
scalaropts analysis.a target.a transformutils \
vmcore support.a LLVMsystem.a
ifdef PARSE_DEBUG
CPPFLAGS = -DPARSE_DEBUG=1