]> granicus.if.org Git - clang/commit
[ThinLTO] Clang support for emitting minimized bitcode for thin link
authorTeresa Johnson <tejohnson@google.com>
Thu, 23 Mar 2017 19:47:49 +0000 (19:47 +0000)
committerTeresa Johnson <tejohnson@google.com>
Thu, 23 Mar 2017 19:47:49 +0000 (19:47 +0000)
commitae3ac3323764b2361c5c92ed733e9c67ccd4421b
treedec0538143af66e76f2d04e14311bd39fc5d7a4b
parent4a1e0b13e783f7eac1028ad640c30e85f227b3fd
[ThinLTO] Clang support for emitting minimized bitcode for thin link

Summary:
Clang companion patch to LLVM patch D31027, which adds support
for emitting minimized bitcode file for use in the thin link step.
Add a cc1 option -fthin-link-bitcode=<file> to trigger this behavior.

Depends on D31027.

Reviewers: mehdi_amini, pcc

Subscribers: cfe-commits, Prazek

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298639 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/thin_link_bitcode.c [new file with mode: 0644]