[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
Sat Apr 16 01:54:26 PDT 2016


joker.eph updated this revision to Diff 53980.
joker.eph added a comment.

Update: resolve alias correctly now. Use a ModuleLinker flag to control the behavior.


http://reviews.llvm.org/D19096

Files:
  include/llvm/Linker/Linker.h
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Linker/LinkModules.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/odr_resolution.ll
  test/Transforms/FunctionImport/Inputs/funcimport.ll
  test/Transforms/FunctionImport/funcimport.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19096.53980.patch
Type: text/x-patch
Size: 10795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160416/0e9bf4db/attachment.bin>


More information about the llvm-commits mailing list