[PATCH] D19096: ThinLTO/ModuleLinker: add a flag to not always pull-in linkonce when performing importing

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 12:57:02 PDT 2016


joker.eph updated this revision to Diff 54407.
joker.eph updated the summary for this revision.
joker.eph added a comment.

Thread the flag to the client of the importer, and default it to true for the functionimportpass.

(also remove the wrong alias test case from this patch)


http://reviews.llvm.org/D19096

Files:
  include/llvm/Linker/Linker.h
  include/llvm/Transforms/IPO/FunctionImport.h
  lib/Linker/LinkModules.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/Linker/funcimport2.ll
  test/Transforms/FunctionImport/Inputs/funcimport.ll
  test/Transforms/FunctionImport/funcimport.ll
  tools/llvm-link/llvm-link.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19096.54407.patch
Type: text/x-patch
Size: 7778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160420/0617ceba/attachment.bin>


More information about the llvm-commits mailing list