diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-18 06:34:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-18 06:34:30 +0000 |
commit | fd90dd5d5513f9e7130bab0da334ad2ad8ef4e02 (patch) | |
tree | 39db9e9d2bfc255238fa71e44cfab0e76ab94921 /tools/Makefile | |
parent | 31c8e1d6aa5ffe90b4bf23e8a7c0a602d64ab2ae (diff) | |
download | external_llvm-fd90dd5d5513f9e7130bab0da334ad2ad8ef4e02.zip external_llvm-fd90dd5d5513f9e7130bab0da334ad2ad8ef4e02.tar.gz external_llvm-fd90dd5d5513f9e7130bab0da334ad2ad8ef4e02.tar.bz2 |
For PR872:
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included
most of the analysis passes. To get the old analyze functionality pass
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further
integration such as removing the distinction between transform passes
and analysis passes.
To use the analysis functionality, if you previously did this:
analyze $FNAME -domset -disable-verify
you would now do this:
opt -analyze $FNAME -domset -disable-verify
Pretty simple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index 99e7396..649c655 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -9,8 +9,7 @@ LEVEL := .. PARALLEL_DIRS := llvm-config llvm-as llvm-dis opt gccas llc llvm-link lli gccld\ - llvm-stub analyze llvm-extract llvm-nm llvm-prof llvm-ar \ - llvm-ranlib llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint \ - llvm2cpp + llvm-stub llvm-extract llvm-nm llvm-prof llvm-ar llvm-ranlib \ + llvm-bcanalyzer llvmc llvm-ld llvm-db bugpoint llvm2cpp include $(LEVEL)/Makefile.common |