aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-11-01 01:34:59 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-11-01 01:34:59 +0000
commitf358c8af7bc0ed58fc1f009aabe928732d3d2316 (patch)
treefa1b108e714c2e53290929dd74abce5dd9d99d8b
parent172b221147ab56e60968d3f7ffdb42256622fa4c (diff)
Add LinkAllPasses to clang
This patch ensures that no passes are deleted from clang, such that the loading of plugins does not fail because of passes being unavailable. This increases the size of the clang binary from 43029853 to 43915291 bytes (around 2%). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143414 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/driver/cc1_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/driver/cc1_main.cpp b/tools/driver/cc1_main.cpp
index 27f79b7e66..f1fb68d539 100644
--- a/tools/driver/cc1_main.cpp
+++ b/tools/driver/cc1_main.cpp
@@ -30,6 +30,7 @@
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h"
+#include "llvm/LinkAllPasses.h"
#include <cstdio>
using namespace clang;