This is an archive of the discontinued LLVM Phabricator instance.

[OptDiag, opt-viewer] Save callee's location and display as link
ClosedPublic

Authored by anemet on Nov 7 2016, 12:41 PM.

Details

Summary

With this we get a new field in the YAML record if the value being
streamed out has a debug location. For examples, please see the changes
to the tests.

This is then used in opt-viewer to display a link for the callee function in the inlining remarks.

Event Timeline

anemet updated this revision to Diff 77082.Nov 7 2016, 12:41 PM
anemet retitled this revision from to [OptDiag, opt-viewer] Save callee's location and display as link.
anemet updated this object.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.
anemet updated this object.Nov 7 2016, 12:46 PM
hfinkel accepted this revision.Nov 7 2016, 2:37 PM
hfinkel edited edge metadata.

This makes sense; this way we'll know that we get the locations of all of the entities referenced in the messages.

LGTM

This revision is now accepted and ready to land.Nov 7 2016, 2:37 PM
This revision was automatically updated to reflect the committed changes.