This is an archive of the discontinued LLVM Phabricator instance.

[LTO] llvm-lto2: Add option to load sample profile
ClosedPublic

Authored by tobiasvk on Jul 28 2017, 3:38 PM.

Details

Summary

This exposes LTO's Conf.SampleProfile as a command line option
(-lto-sample-profile-file) for testing via the llvm-lto2 utility.

Diff Detail

Repository
rL LLVM

Event Timeline

tobiasvk created this revision.Jul 28 2017, 3:38 PM
danielcdh accepted this revision.Jul 28 2017, 3:58 PM
This revision is now accepted and ready to land.Jul 28 2017, 3:58 PM

Thanks for doing this! I was about to do the same thing as I have a new patch to that relies on this patch for testing.

This revision was automatically updated to reflect the committed changes.