Enable the setjmp/longjmp lowering pass
authorChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 04:56:44 +0000 (04:56 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 04:56:44 +0000 (04:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8521 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 8a42dc94d474f2ded2cb6dd074c780c155d81031..27ae11c6c43e5853c950eee6022a8fb17af6ad33 100644 (file)
@@ -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