Add a libLTO API to stop/restart ThinLTO between optimizations and CodeGen
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 06:47:02 +0000 (06:47 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 1 Apr 2016 06:47:02 +0000 (06:47 +0000)
commit43b657b5c7440c5b85b031732fb0281fdfa07560
tree33c772f218d1097746395b0d474299a4c18b6c4a
parentf8b592f213816911adcd9c2e86a04d007ef3f6b1
Add a libLTO API to stop/restart ThinLTO between optimizations and CodeGen

This allows the linker to instruct ThinLTO to perform only the
optimization part or only the codegen part of the process.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265113
llvm/include/llvm-c/lto.h
llvm/include/llvm/LTO/ThinLTOCodeGenerator.h
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/tools/lto/lto.cpp
llvm/tools/lto/lto.exports