This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO] Add option for printing import failure reasons
ClosedPublic

Authored by tejohnson on Aug 16 2018, 7:41 PM.

Details

Summary

Adds the option for the printing of summary information about functions
considered but rejected for importing during the thin link.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Aug 16 2018, 7:41 PM
tejohnson updated this revision to Diff 161157.Aug 16 2018, 7:46 PM

Remove extraneous commented line.

davidxl added inline comments.Aug 17 2018, 8:47 AM
include/llvm/Transforms/IPO/FunctionImport.h
44 ↗(On Diff #161157)

Add some comments on the reasons that are not obvious e.g, GlobalVar.

56 ↗(On Diff #161157)

Add a comment on MaxHotness.

tejohnson marked 2 inline comments as done.Aug 17 2018, 9:07 AM
tejohnson added inline comments.
include/llvm/Transforms/IPO/FunctionImport.h
44 ↗(On Diff #161157)

Went ahead and documented all.

56 ↗(On Diff #161157)

Went ahead and documented all.

tejohnson updated this revision to Diff 161276.Aug 17 2018, 9:07 AM
tejohnson marked 2 inline comments as done.

Address comments

davidxl accepted this revision.Aug 17 2018, 9:20 AM

lgtm

This revision is now accepted and ready to land.Aug 17 2018, 9:20 AM
This revision was automatically updated to reflect the committed changes.