zig cc: remove "polly" which was an undefined symbol on macos
This commit is contained in:
parent
a77a17e2c2
commit
bcca76b3c4
|
@ -67,12 +67,6 @@ static void LLVMErrorHandler(void *UserData, const std::string &Message,
|
||||||
exit(GenCrashDiag ? 70 : 1);
|
exit(GenCrashDiag ? 70 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LINK_POLLY_INTO_TOOLS
|
|
||||||
namespace polly {
|
|
||||||
void initializePollyPasses(llvm::PassRegistry &Registry);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CLANG_HAVE_RLIMITS
|
#ifdef CLANG_HAVE_RLIMITS
|
||||||
#if defined(__linux__) && defined(__PIE__)
|
#if defined(__linux__) && defined(__PIE__)
|
||||||
static size_t getCurrentStackAllocation() {
|
static size_t getCurrentStackAllocation() {
|
||||||
|
@ -181,11 +175,6 @@ int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) {
|
||||||
llvm::InitializeAllAsmPrinters();
|
llvm::InitializeAllAsmPrinters();
|
||||||
llvm::InitializeAllAsmParsers();
|
llvm::InitializeAllAsmParsers();
|
||||||
|
|
||||||
#ifdef LINK_POLLY_INTO_TOOLS
|
|
||||||
llvm::PassRegistry &Registry = *llvm::PassRegistry::getPassRegistry();
|
|
||||||
polly::initializePollyPasses(Registry);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Buffer diagnostics from argument parsing so that we can output them using a
|
// Buffer diagnostics from argument parsing so that we can output them using a
|
||||||
// well formed diagnostic object.
|
// well formed diagnostic object.
|
||||||
IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
|
IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user