summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-11 18:45:20 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-11 18:45:20 +0000
commita0ef3ed8c3d76c928653f36e0be3faa4617573a4 (patch)
tree59ae14b0dae6b50bdbabd33088e29a6d4588d149 /clang
parentf39e190ad8854b472ae8e95b3430116ff621b314 (diff)
downloadbcm5719-llvm-a0ef3ed8c3d76c928653f36e0be3faa4617573a4.tar.gz
bcm5719-llvm-a0ef3ed8c3d76c928653f36e0be3faa4617573a4.zip
Emit the module hash by default with -flto=thin.
Reviewers: tejohnson Subscribers: joker.eph, cfe-commits Differential Revision: http://reviews.llvm.org/D18947 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 265977
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 4470afb910c..8984a072562 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -668,7 +668,8 @@ void EmitAssemblyHelper::EmitAssembly(BackendAction Action,
case Backend_EmitBC:
getPerModulePasses()->add(createBitcodeWriterPass(
- *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex));
+ *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex,
+ CodeGenOpts.EmitSummaryIndex));
break;
case Backend_EmitLL:
OpenPOWER on IntegriCloud