r265977 - Emit the module hash by default with -flto=thin.

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 11:45:20 PDT 2016


Author: mehdi_amini
Date: Mon Apr 11 13:45:20 2016
New Revision: 265977

URL: http://llvm.org/viewvc/llvm-project?rev=265977&view=rev
Log:
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 at apple.com>

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=265977&r1=265976&r2=265977&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Mon Apr 11 13:45:20 2016
@@ -668,7 +668,8 @@ void EmitAssemblyHelper::EmitAssembly(Ba
 
   case Backend_EmitBC:
     getPerModulePasses()->add(createBitcodeWriterPass(
-        *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex));
+        *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex,
+        CodeGenOpts.EmitSummaryIndex));
     break;
 
   case Backend_EmitLL:




More information about the cfe-commits mailing list