]> granicus.if.org Git - clang/commitdiff
Add LinkAllPasses to clang
authorTobias Grosser <grosser@fim.uni-passau.de>
Tue, 1 Nov 2011 01:34:59 +0000 (01:34 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Tue, 1 Nov 2011 01:34:59 +0000 (01:34 +0000)
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

tools/driver/cc1_main.cpp

index 27f79b7e667783d603e81c73c93d6a3b5522c808..f1fb68d539b34d06b3c6ba97460f94474cab4719 100644 (file)
@@ -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;