This is an archive of the discontinued LLVM Phabricator instance.

LTO support for -fsave-optimization-record on Darwin
ClosedPublic

Authored by anemet on Nov 17 2016, 9:20 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

anemet updated this revision to Diff 78464.Nov 17 2016, 9:20 PM
anemet retitled this revision from to LTO support for -fsave-optimization-record on Darwin.
anemet updated this object.
anemet added reviewers: hfinkel, mehdi_amini.
anemet added a subscriber: cfe-commits.
mehdi_amini accepted this revision.Nov 17 2016, 10:08 PM
mehdi_amini edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 17 2016, 10:08 PM
mehdi_amini requested changes to this revision.Nov 17 2016, 10:09 PM
mehdi_amini edited edge metadata.

Well, maybe not entirely, what do you expect for output with ThinLTO?

This revision now requires changes to proceed.Nov 17 2016, 10:09 PM

Well, maybe not entirely, what do you expect for output with ThinLTO?

For now, I'd like to just ignore it. So I need to somehow restrict this to LTO-only...

I'm not incline to agree with this, unless you have very strong arguments.

Nothing strong, just trying to go step-by-step. I haven't thought about it how this should map to ThinLTO. We can discuss it tomorrow.

Mehdi offered to help out making this work for ThinLTO on the LLVM side. For now this option will be ignored by ThinLTO.

This revision was automatically updated to reflect the committed changes.