llvm-lto support for generating combined function indexes
authorTeresa Johnson <tejohnson@google.com>
Mon, 19 Oct 2015 14:30:44 +0000 (14:30 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 19 Oct 2015 14:30:44 +0000 (14:30 +0000)
commitd6e77b7d157be995bbcc6b818c3e4a2fd8aa0ee9
treee6d413ff29875c4c9d022804178084540745e88d
parentfa39e176c7e007eeb1feff4e8632df1b4cf5be21
llvm-lto support for generating combined function indexes

Summary:
This patch adds support to llvm-lto that mirrors the support added by
r249270 to the gold plugin. This enables better testing of combined
index generation for ThinLTO.

Added a new test, and this support will be used in the test in D13515.

Reviewers: joker.eph

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13847

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250699 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-lto/Inputs/thinlto.ll [new file with mode: 0644]
test/tools/llvm-lto/thinlto.ll [new file with mode: 0644]
tools/llvm-lto/CMakeLists.txt
tools/llvm-lto/LLVMBuild.txt
tools/llvm-lto/llvm-lto.cpp