summaryrefslogtreecommitdiff
path: root/utils/Misc/mergefunctions.clang.svn.patch
blob: 6e2f0f5227985469cac6b4fa491c7fbcb88a8204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp	(revision 191330)
+++ lib/CodeGen/BackendUtil.cpp	(working copy)
@@ -336,6 +336,9 @@
       MPM->add(createStripSymbolsPass(true));
   }
 
+  // Force MergeFunctions pass.
+  MPM->add(createMergeFunctionsPass());
+
   PMBuilder.populateModulePassManager(*MPM);
 }