This is an archive of the discontinued LLVM Phabricator instance.

Create SampleProfileLoader pass in llvm instead of clang
ClosedPublic

Authored by danielcdh on Dec 13 2016, 5:56 PM.

Details

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.

Event Timeline

danielcdh updated this revision to Diff 81335.Dec 13 2016, 5:56 PM
danielcdh retitled this revision from to Create SampleProfileLoader pass in llvm instead of clang.
danielcdh updated this object.
danielcdh added reviewers: dnovillo, tejohnson, davidxl.
danielcdh added a subscriber: llvm-commits.
dnovillo accepted this revision.Dec 14 2016, 7:10 AM
dnovillo edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 14 2016, 7:10 AM
danielcdh closed this revision.Dec 14 2016, 8:59 AM
danielcdh reopened this revision.Dec 14 2016, 1:38 PM

was reverted due to bot breaking

This revision is now accepted and ready to land.Dec 14 2016, 1:38 PM
danielcdh closed this revision.Dec 14 2016, 1:51 PM