CodeGen: Replace ThinLTO backend implementation with a client of LTO/Resolution.
authorTeresa Johnson <tejohnson@google.com>
Fri, 12 Aug 2016 18:12:08 +0000 (18:12 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 12 Aug 2016 18:12:08 +0000 (18:12 +0000)
commit9e3f4746d5c80baedb1610aacb864cd65e1cb6a6
tree497ec2558ab3148b0ea61ca1a9c56b983f96569e
parentad9a5951d9c5503b88426b3ea2f620fa657fd046
CodeGen: Replace ThinLTO backend implementation with a client of LTO/Resolution.

Summary:
This changes clang to use the llvm::lto::thinBackend function instead of
its own less comprehensive ThinLTO backend implementation.

Patch by Peter Collingbourne

Reviewers: tejohnson, mehdi_amini

Subscribers: cfe-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D21545

llvm-svn: 278541
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CMakeLists.txt