| commit | a99e082e15422bb2666532001bca76dbe30468bf | [log] [tgz] |
|---|---|---|
| author | Dehao Chen <dehao@google.com> | Wed Dec 14 21:40:47 2016 +0000 |
| committer | Dehao Chen <dehao@google.com> | Wed Dec 14 21:40:47 2016 +0000 |
| tree | abe95d80f7a590a6ed8fee290da57f5d93cf0788 | |
| parent | 7849eeb0359e086870633437529c7f8a6a30a952 [diff] |
Create SampleProfileLoader pass in llvm instead of clang Summary: We used to create SampleProfileLoader pass in clang. This makes LTO/ThinLTO unable to add this pass in the linker plugin. This patch moves the SampleProfileLoader pass creation from clang to llvm pass manager builder. Reviewers: tejohnson, davidxl, dnovillo Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D27743 llvm-svn: 289714