| ... | @@ -67,12 +67,6 @@ static void LLVMErrorHandler(void *UserData, const std::string &Message, | ... | @@ -67,12 +67,6 @@ static void LLVMErrorHandler(void *UserData, const std::string &Message, |
| 67 | exit(GenCrashDiag ? 70 : 1); | 67 | exit(GenCrashDiag ? 70 : 1); |
| 68 | } | 68 | } |
| 69 | | 69 | |
| 70 | #ifdef LINK_POLLY_INTO_TOOLS | | |
| 71 | namespace polly { | | |
| 72 | void initializePollyPasses(llvm::PassRegistry &Registry); | | |
| 73 | } | | |
| 74 | #endif | | |
| 75 | | | |
| 76 | #ifdef CLANG_HAVE_RLIMITS | 70 | #ifdef CLANG_HAVE_RLIMITS |
| 77 | #if defined(__linux__) && defined(__PIE__) | 71 | #if defined(__linux__) && defined(__PIE__) |
| 78 | static size_t getCurrentStackAllocation() { | 72 | static size_t getCurrentStackAllocation() { |
| ... | @@ -181,11 +175,6 @@ int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { | ... | @@ -181,11 +175,6 @@ int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { |
| 181 | llvm::InitializeAllAsmPrinters(); | 175 | llvm::InitializeAllAsmPrinters(); |
| 182 | llvm::InitializeAllAsmParsers(); | 176 | llvm::InitializeAllAsmParsers(); |
| 183 | | 177 | |
| 184 | #ifdef LINK_POLLY_INTO_TOOLS | | |
| 185 | llvm::PassRegistry &Registry = *llvm::PassRegistry::getPassRegistry(); | | |
| 186 | polly::initializePollyPasses(Registry); | | |
| 187 | #endif | | |
| 188 | | | |
| 189 | // Buffer diagnostics from argument parsing so that we can output them using a | 178 | // Buffer diagnostics from argument parsing so that we can output them using a |
| 190 | // well formed diagnostic object. | 179 | // well formed diagnostic object. |
| 191 | IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); | 180 | IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); |