summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-10 20:33:32 +0000
committerChris Lattner <sabre@nondot.org>2002-04-10 20:33:32 +0000
commit6a1f6940a189ea144bdd5efde53325f68c6ae330 (patch)
treed598c87a2080628bf8b08773d97764108cc59606 /tools
parent265b083e84f09473de0693221b1b1777813d6e33 (diff)
downloadllvm-6a1f6940a189ea144bdd5efde53325f68c6ae330.tar.gz
llvm-6a1f6940a189ea144bdd5efde53325f68c6ae330.tar.bz2
llvm-6a1f6940a189ea144bdd5efde53325f68c6ae330.tar.xz
The cleangcc pass is brokeninto two pieces, execute both of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gccas/gccas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp
index 3f52e004f6..1bf1e8c0b7 100644
--- a/tools/gccas/gccas.cpp
+++ b/tools/gccas/gccas.cpp
@@ -68,6 +68,7 @@ int main(int argc, char **argv) {
// a little bit. Do this now.
//
PassManager Passes;
+ Passes.add(createFunctionResolvingPass()); // Resolve (...) functions
Passes.add(createDeadInstEliminationPass()); // Remove Dead code/vars
Passes.add(createRaiseAllocationsPass()); // call %malloc -> malloc inst
Passes.add(createCleanupGCCOutputPass()); // Fix gccisms