]> granicus.if.org Git - clang/commit
Add -plugin-opt=sample-profile for thinLTO build.
authorDehao Chen <dehao@google.com>
Wed, 4 Jan 2017 00:33:23 +0000 (00:33 +0000)
committerDehao Chen <dehao@google.com>
Wed, 4 Jan 2017 00:33:23 +0000 (00:33 +0000)
commitae1bed598a9f269250c26dbf9a23c560a0639100
treebb02359b9b2b9294b0f117aa8cd7abdbeecd71b7
parentd49e17b4116694db28672b4ae66fd1958000d6a1
Add -plugin-opt=sample-profile for thinLTO build.

Summary: ThinLTO needs to pass down the sample profile file path to linker.

Reviewers: tejohnson, davidxl, mehdi_amini

Subscribers: bruno, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290919 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/gold-lto-samplepgo.c [new file with mode: 0644]