[PATCH] D13515: Support for ThinLTO function importing and symbol linking.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 09:59:56 PDT 2015


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

Support for necessary linkage changes and symbol renaming during
ThinLTO function importing.

Also includes llvm-link support for manually importing functions
and associated llvm-link based tests.

Note that this does not include support for intelligently importing
metadata, which is currently imported duplicate times. That support will
be in the follow-on patch, and currently is ignored by the tests.

http://reviews.llvm.org/D13515

Files:
  include/llvm/IR/FunctionInfo.h
  include/llvm/Linker/Linker.h
  lib/Linker/LinkModules.cpp
  lib/Transforms/IPO/ElimAvailExtern.cpp
  test/Linker/Inputs/funcimport.ll
  test/Linker/funcimport.ll
  tools/llvm-link/CMakeLists.txt
  tools/llvm-link/LLVMBuild.txt
  tools/llvm-link/llvm-link.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13515.36756.patch
Type: text/x-patch
Size: 42429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/591d577f/attachment-0001.bin>


More information about the llvm-commits mailing list