Restore "Support for ThinLTO function importing and symbol linking."
authorTeresa Johnson <tejohnson@google.com>
Tue, 3 Nov 2015 00:14:15 +0000 (00:14 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 3 Nov 2015 00:14:15 +0000 (00:14 +0000)
commit0292f065c15307989bd4fb2993e714ab9113a7cf
tree89039ac5585b8e32424d1ee2e4940a856e633649
parent06e175204105f46c23ea7ef5ce9743846524929f
Restore "Support for ThinLTO function importing and symbol linking."

This restores commit r251837, with the new library dependence added to
llvm-link/Makefile to address bot failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251866 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/Bitcode/ReaderWriter.h
include/llvm/IR/FunctionInfo.h
include/llvm/Linker/Linker.h
include/llvm/Object/FunctionIndexObjectFile.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Linker/LinkModules.cpp
lib/Object/FunctionIndexObjectFile.cpp
lib/Transforms/IPO/ElimAvailExtern.cpp
test/Linker/Inputs/funcimport.ll [new file with mode: 0644]
test/Linker/funcimport.ll [new file with mode: 0644]
tools/llvm-link/CMakeLists.txt
tools/llvm-link/LLVMBuild.txt
tools/llvm-link/Makefile
tools/llvm-link/llvm-link.cpp