[LTO] Load sample profile in LTO link step.

Summary:
Load sample profile in LTO link step.
ThinLTO calls populateModulePassManager to load the profile

Reviewers: tejohnson, davidxl, danielcdh

Subscribers: mehdi_amini, inglorion, steven_wu, dexonsmith, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346971 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed