summaryrefslogtreecommitdiff
path: root/utils/Misc/mergefunctions.clang.svn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Misc/mergefunctions.clang.svn.patch')
-rw-r--r--utils/Misc/mergefunctions.clang.svn.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/Misc/mergefunctions.clang.svn.patch b/utils/Misc/mergefunctions.clang.svn.patch
new file mode 100644
index 0000000000..6e2f0f5227
--- /dev/null
+++ b/utils/Misc/mergefunctions.clang.svn.patch
@@ -0,0 +1,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);
+ }
+