This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO] Add an import cutoff for debugging/triaging
ClosedPublic

Authored by tejohnson on Mar 31 2018, 11:20 AM.

Details

Summary

Adds -import-cutoff=N which will stop importing during the thin link
after N imports. Default is -1 (no limit).

Diff Detail

Event Timeline

tejohnson created this revision.Mar 31 2018, 11:20 AM
wmi accepted this revision.Mar 31 2018, 9:10 PM

The patch was very helpful for my last triaging of a runtime issue only exposed in thinlto mode. Thanks for contributing it to upstream!

This revision is now accepted and ready to land.Mar 31 2018, 9:10 PM
This revision was automatically updated to reflect the committed changes.