diff --git a/cbackend.cpp b/cbackend.cpp index 9628d51e..eb68bc15 100644 --- a/cbackend.cpp +++ b/cbackend.cpp @@ -4841,7 +4841,10 @@ WriteCXXFile(llvm::Module *module, const char *fn, int vectorWidth, pm.add(llvm::createDeadCodeEliminationPass()); // clean up after smear pass //CO pm.add(llvm::createPrintModulePass(&fos)); pm.add(new CWriter(fos, includeName, vectorWidth)); +#if defined(LLVM_3_1) || defined(LLVM_3_2) + // This interface is depricated for 3.3+ pm.add(llvm::createGCInfoDeleter()); +#endif //CO pm.add(llvm::createVerifierPass()); pm.run(*module); diff --git a/doxygen.cfg b/doxygen.cfg index 5601e986..0dd78df6 100644 --- a/doxygen.cfg +++ b/doxygen.cfg @@ -597,6 +597,7 @@ INPUT = ast.h \ util.h \ ast.cpp \ builtins.cpp \ + cbackend.cpp \ ctx.cpp \ decl.cpp \ expr.cpp \