[PATCH] D18947: Emit the module hash by default with -flto=thin.

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 10 22:28:08 PDT 2016


joker.eph created this revision.
joker.eph added a reviewer: tejohnson.
joker.eph added a subscriber: cfe-commits.
Herald added a subscriber: joker.eph.

http://reviews.llvm.org/D18947

Files:
  lib/CodeGen/BackendUtil.cpp

Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -668,7 +668,8 @@
 
   case Backend_EmitBC:
     getPerModulePasses()->add(createBitcodeWriterPass(
-        *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex));
+        *OS, CodeGenOpts.EmitLLVMUseLists, CodeGenOpts.EmitSummaryIndex,
+        CodeGenOpts.EmitSummaryIndex));
     break;
 
   case Backend_EmitLL:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18947.53191.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160411/440188a0/attachment-0001.bin>


More information about the cfe-commits mailing list