test: Make a start on a test suite for libLTO.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 19 Mar 2015 23:55:38 +0000 (23:55 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 19 Mar 2015 23:55:38 +0000 (23:55 +0000)
commitaa0140066391bf942a686ab79f6526d57ee9479f
tree9ddc824781ffe0f8e02f01714382da8086f7faac
parent8d5dd67e04ad5def9ce4cd69827ba4d3fce1360d
test: Make a start on a test suite for libLTO.

This works in a similar way to the gold plugin tests. We search for a compatible
linker on $PATH and use it to run tests against our just-built libLTO. To start
with, test the just added opt level functionality.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232785 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/config-ix.cmake
test/CMakeLists.txt
test/Makefile
test/lit.cfg
test/lit.site.cfg.in
test/tools/lto/lit.local.cfg [new file with mode: 0644]
test/tools/lto/opt-level.ll [new file with mode: 0644]