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.
Paths
| Differential D46728
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
Event Timeline
This revision is now accepted and ready to land.May 10 2018, 3:20 PM Closed by commit rL332283: Hexagon: Put relocations after instructions not packets. (authored by sidneym). · Explain WhyMay 14 2018, 12:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 146227 test/CodeGen/Hexagon/relax.ll
test/MC/Hexagon/packetrelo.s
test/MC/Hexagon/plt-rel.s
tools/llvm-objdump/llvm-objdump.cpp |
This is the actual change, print the relocation inside the body of the packet using the above PrintReloc lambda.