diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-15 04:56:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-15 04:56:44 +0000 |
commit | f7c7f5abf88225d004e39632da0460e4fb62aaed (patch) | |
tree | 0f0d2c3b20ff46492350d3938bfee4b3ab2d6609 /tools | |
parent | 6420f1cd50173df17dba0deb660d88b563f08ac1 (diff) | |
download | external_llvm-f7c7f5abf88225d004e39632da0460e4fb62aaed.zip external_llvm-f7c7f5abf88225d004e39632da0460e4fb62aaed.tar.gz external_llvm-f7c7f5abf88225d004e39632da0460e4fb62aaed.tar.bz2 |
Enable the setjmp/longjmp lowering pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gccas/gccas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 8a42dc9..27ae11c 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -45,6 +45,7 @@ static inline void addPass(PassManager &PM, Pass *P) { void AddConfiguredTransformationPasses(PassManager &PM) { PM.add(createVerifierPass()); // Verify that input is correct + addPass(PM, createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp addPass(PM, createFunctionResolvingPass()); // Resolve (...) functions addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst addPass(PM, createGlobalDCEPass()); // Remove unused globals |