[PATCH] D19096: ModuleLinker: do not always pull-in linkonce_odr when performing ThinLTO importing

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 00:44:55 PDT 2016


joker.eph created this revision.
joker.eph added reviewers: tejohnson, rafael.
joker.eph added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.

This is not efficient, the function importer already decided what
needs to be pulled in. Also this function will not be in the
export list for the source module, which can confuse the internalizer
for instance.

http://reviews.llvm.org/D19096

Files:
  lib/Linker/LinkModules.cpp
  test/Transforms/FunctionImport/Inputs/funcimport.ll
  test/Transforms/FunctionImport/funcimport.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19096.53663.patch
Type: text/x-patch
Size: 3128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/144c65d7/attachment.bin>


More information about the llvm-commits mailing list