This is an archive of the discontinued LLVM Phabricator instance.

Update Hexagon's relocation output
ClosedPublic

Authored by sidneym on May 10 2018, 2:44 PM.

Details

Summary

Currently, relocations are put at the end of packets this change puts the relocation after the instruction that created it.

The change required shifting a large block of code so that the PrettyPrinter could fetch the relocation names.

Diff Detail

Repository
rL LLVM

Event Timeline

sidneym created this revision.May 10 2018, 2:44 PM
sidneym added inline comments.May 10 2018, 2:50 PM
tools/llvm-objdump/llvm-objdump.cpp
1095 ↗(On Diff #146227)

This is the actual change, print the relocation inside the body of the packet using the above PrintReloc lambda.

shankare accepted this revision.May 10 2018, 3:20 PM
This revision is now accepted and ready to land.May 10 2018, 3:20 PM
sidneym added a reviewer: ted.May 10 2018, 5:02 PM
bcain accepted this revision.May 11 2018, 9:41 AM

LGTM

This revision was automatically updated to reflect the committed changes.