[cfe-commits] r143414 - /cfe/trunk/tools/driver/cc1_main.cpp

Tobias Grosser grosser at fim.uni-passau.de
Mon Oct 31 18:34:59 PDT 2011

Author: grosser
Date: Mon Oct 31 20:34:59 2011
New Revision: 143414

URL: http://llvm.org/viewvc/llvm-project?rev=143414&view=rev
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%).


Modified: cfe/trunk/tools/driver/cc1_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1_main.cpp?rev=143414&r1=143413&r2=143414&view=diff
--- cfe/trunk/tools/driver/cc1_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1_main.cpp Mon Oct 31 20:34:59 2011
@@ -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;

More information about the cfe-commits mailing list