This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump] - Split disassembleObject() into two methods. NFCI.
ClosedPublic

Authored by grimar on Jan 21 2019, 7:34 AM.

Details

Summary

Currently, disassembleObject() is a ~550 lines length function.

This patch splits it into two, where first do all helper objects initializations
and calls the second which does all the rest job.
This is kind of straightforward split, no code was moved around or changed.

This one is rebased on top of D57019.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Jan 21 2019, 7:34 AM
This revision is now accepted and ready to land.Jan 22 2019, 8:15 AM
This revision was automatically updated to reflect the committed changes.